Username404
404b580ec3
Don't execute make commands in parallel in the Jenkinsfile.
2021-08-10 11:00:08 +02:00
Username404
41da4ef6ac
Add even more flags for the GNU and Clang compilers...
2021-08-10 10:58:18 +02:00
Username404
8739623a08
Move the Clang flags to the CMAKE_CXX_FLAGS_RELEASE, and add another flag.
2021-08-10 10:44:17 +02:00
Username404
f472878180
Use the flag added previously on Clang++ too, and replace occurrences of version numbers with the two variable containing minimal versions of compilers.
2021-08-10 10:32:04 +02:00
Username404
cc0d29fda7
Add an optimization flags for GNU compilers in the CMakeLists.txt file.
2021-08-09 21:33:18 +02:00
Username404
e414688156
Rename the second stage of the pipeline in the Jenkinsfile
2021-08-09 20:55:43 +02:00
Username404
a875f8ab80
Only strip the executable found in ./cmake-build-release.
2021-08-09 18:29:13 +02:00
Username404
ed6851f8e7
Re-add the cmake calls in the Jenkinsfile.
2021-08-09 18:14:56 +02:00
Username404
b1e5c0f7ea
Fix the previous commit...
2021-08-09 18:06:38 +02:00
Username404
9a9cc4aa50
Move cross-compilation to another stage in the Jenkinsfile.
2021-08-09 18:02:05 +02:00
Username404
3c14405874
Add variables with the minimal versions of GNU and Clang in the CMakeLists.txt file
2021-08-09 17:17:38 +02:00
Username404
043d2e7485
Make the GNU compiler message a FATAL_ERROR in the CMakeLists.txt file.
2021-08-09 14:39:09 +02:00
Username404
3b991da962
Require Clang 13.0+ in the CMakeLists.txt file, import the tok::type enumeration in lexer.cpp + Parser.hpp, and add [[likely]] attributes to 2 branches of the switch case in lexer.cpp.
2021-08-09 10:58:11 +02:00
Username404
3c703e55b5
Rename the findByName method to findReferenceByName, and add a findReferencesById method.
2021-08-08 23:44:42 +02:00
Username404
9871cc66c7
Add a Reference structure to the StandardComponents namespace.
2021-08-08 22:53:29 +02:00
Username404
43136672bd
Remove the ParseComponents constructor declaration and make NamedIdentifier.name a const variable again
2021-08-08 22:51:49 +02:00
Username404
e8b2f90263
Return pointers in PareTree.findById() and return references in ParseTree.findByName().
2021-08-08 16:23:46 +02:00
Username404
dd223026a0
Fix the findByName function.
2021-08-08 14:59:47 +02:00
Username404
fa546865a0
Use runtime type information in ParseComponents.hpp.
2021-08-08 14:38:21 +02:00
Username404
c23d88e0eb
Add a return type to the ParseTree "<<" operator.
2021-08-07 13:33:13 +02:00
Username404
2a5df0bb32
Put the #ifdef directives before the case statements in Target.hpp to avoid issues.
2021-08-07 11:41:04 +02:00
Username404
2f853fe797
Add unsigned short values to the tok::type enum and move the parseString function to misc.hpp.
2021-08-06 19:12:28 +02:00
Username404
fbe8e189d3
Reuse a lambda in main.cpp.
2021-08-06 11:58:43 +02:00
Username404
604532dc34
Make the Policy local variable a reference in main.cpp, remove a useless #include directive and include Yerbacon.hpp before future.
2021-08-06 11:45:16 +02:00
Username404-59
c2a9c630ed
Update docs/gettingstarted.md.
...
Fixez a typo in the 5th section of docs/gettingstarted.md and adds an alternative "structure" keyword for classes.
Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
2021-08-05 01:16:35 +02:00
Username404-59
913bd4ba9b
Edit a line in the 5th section of docs/gettingstarted.md.
2021-08-05 01:00:25 +02:00
Username404
55970f861d
Add a "Classes" section to the docs/gettingstarted.md file, and edit a few lines.
2021-08-05 00:29:00 +02:00
Username404
328a073d50
Add a "dollar sign" token to lex.hpp and use it in lexer.cpp
2021-08-05 00:03:50 +02:00
Username404
e3804aa342
Make the class names constant in ParseComponents.hpp.
2021-08-01 13:02:57 +02:00
Username404
7ce27cc49d
Fix the function names in calls of the 2.3 section in docs/gettingstarted.md.
2021-07-31 22:36:03 +02:00
Username404
dcbefc1a59
Update docs/gettingstarted.md:
...
Add sub-sections about function parameters + function calls and a new section about comments.
2021-07-31 22:28:46 +02:00
Username404-59
abf2747588
Add a missing dot in the README.MD file.
...
Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
2021-07-31 22:03:20 +02:00
Username404
6d2314af06
Fix the end of the third section in docs/gettingstarted.md (+ the Hello World code blocks), and add a note about primitive types.
2021-07-31 21:35:07 +02:00
Username404
34777acc74
Rename the variable containing the name of classes in StandardComponents::Class, nest the Constructor structure in it and remove StandardComponents::ClassBody.
2021-07-31 21:17:57 +02:00
Username404
677868a959
Add a directory with documentation files.
2021-07-31 21:17:33 +02:00
Username404
4512909b23
Don't break in the ADDTARGET macro of Target.hpp, and define class names of Py.hpp, Lua.hpp and Js.hpp to use them in Target.hpp.
2021-07-31 18:56:17 +02:00
Username404
ac195d413b
Undefine the ADDTARGET macro after the switch statement in Target.hpp
2021-07-31 18:38:57 +02:00
Username404
bf5ca80c4d
Add a Macro to Target.hpp and check for a std::threads implementation in Yerbacon.hpp.
2021-07-31 16:47:00 +02:00
Username404
905e7e7e82
Add lexing and parsing exceptions and parse = and #=
2021-07-29 17:35:35 +02:00
Username404
ecc2683cea
Show an error when the executable is not found in scripts/ybcon.
2021-07-12 14:36:46 +02:00
Username404
8598509f0b
Revert "Handle duplicated --printresult arguments."
...
This reverts commit 25b50d1c
2021-07-11 15:44:30 +02:00
Username404
c8f3e689bd
Remove the library target since it won't be useful.
2021-07-10 12:00:19 +02:00
Username404
3265e5f374
Remove transpile() from the misc.hpp header
2021-07-10 11:05:14 +02:00
Username404
1bfb4cb54b
Add arguments.hpp, remove a few useless files, and add a library target to the CMakeLists.txt file.
2021-07-10 11:03:15 +02:00
Username404
b1c8bc5b7f
Update README.md and use the right mingw32 executable on debian.
2021-07-09 18:39:14 +02:00
Username404-59
6c62ee9f1a
Handle duplicated --printresult arguments.
2021-07-08 16:40:47 +02:00
Username404-59
84b2d8812c
Fix the condition introduced in previous commits.
2021-07-08 12:57:33 +02:00
Username404-59
710590fef6
Fix the previous commit.
2021-07-08 10:42:10 +02:00
Username404-59
c3bf6609f2
Fix the shell script arguments not working at all.
2021-07-08 10:37:17 +02:00
Username404-59
4b1dd01128
Complete the build requirements and the example in the README.md file.
2021-07-08 10:18:18 +02:00