Commit Graph

446 Commits

Author SHA1 Message Date
Username404 bfa8f50ad9
Revert "Add a "SEPARATOR" token type"
This reverts commit 47478173
2021-09-11 11:35:22 +02:00
Username404 84b9f9de73
Add the [[unlikely]] attribute to the '\r' case in lexer.cpp 2021-09-10 22:20:41 +02:00
Username404 6de05633d9
Add a "SEPARATOR" token type 2021-09-10 22:15:05 +02:00
Username404 37a6c0e047
Remove the oldClosingBraceIsFar boolean in Target.hpp 2021-09-02 10:35:53 +02:00
Username404 76c8975e27
Use a reference in the Argument "==" operator, and move the currentArg variable of main.cpp into the loop used for arguments 2021-09-02 10:34:00 +02:00
Username404 d6642f9ae5
Make getId() a constexpr function and use arrow syntax to call it in Target.hpp instead of dereferencing a pointer 2021-09-02 10:08:10 +02:00
Username404-59 52474d6521
Cross-compile for the riscv64 architecture in the Jenkinsfile 2021-09-02 01:10:47 +02:00
Username404 b5697bf0a8
Take the remaining characters of a string instead of taking none in a condition of the stringInterpolation() function from Target.hpp 2021-09-01 19:31:04 +02:00
Username404 afc59c7a22
Don't find occurrences when closing characters are not found in Target.hpp, make the interpolation strings static const variables and fix typos 2021-08-31 15:19:44 +02:00
Username404 bc2f6938e3
Use negation in the multiline boolean of Target.hpp 2021-08-31 14:47:13 +02:00
Username404-59 75ca9376fa
Add flags to unwind tables in the CMakeLists.txt 2021-08-30 16:23:55 +02:00
Username404 e92b3cf12f
Fix an extra space being added in the stringInterpolation() function of Target.hpp 2021-08-28 23:25:16 +02:00
Username404 50b84a03f3
Disable ccache in the Jenkinsfile 2021-08-28 23:11:51 +02:00
Username404 34691f7a8f
Only set CCACHE_PRESENT when it is not already defined 2021-08-28 23:09:34 +02:00
Username404 c186f30eef
Merge the noMultiline boolean into multiline in Target.hpp 2021-08-28 11:14:08 +02:00
Username404 2dba7fbda6
Add experimental string transpilation with interpolation 2021-08-28 10:59:24 +02:00
Username404 871ebabb11
Use ccache in builds when it is present 2021-08-27 12:08:56 +02:00
Username404-59 1992e1d42b
Add transpilation of strings to lua-compatible ones, and fix a comment 2021-08-24 17:23:31 +02:00
Username404 5d4be1039d
Add a new variadic lambda in Parser.hpp to check the types of tokens 2021-08-23 14:58:46 +02:00
Username404 079d99e08a
Remove the parameter of Target.get(), add it to Target as a property and rename Target.get() to Target.on() 2021-08-23 12:49:22 +02:00
Username404 664a6a92be
Begin adding transpilation of basic elements 2021-08-22 23:57:18 +02:00
Username404-59 57f8f251bc
Add a CF_PROTECTION variable to hold the -fcf-protection flag in the CMakeLists.txt file 2021-08-22 17:03:53 +02:00
Username404 9a1ea05e83
Add two optimization flags for the GNU compiler 2021-08-22 12:14:12 +02:00
Username404 8c63f1ae8b
Capture fileName by reference since it is now one, and give a type to currentFuture 2021-08-20 10:41:09 +02:00
Username404-59 fdb8579941
Fix a typo from the previous commit 2021-08-20 01:42:43 +02:00
Username404-59 845794a922
Prevent the compilation output from being printed when printResult is false 2021-08-20 01:34:29 +02:00
Username404 729e04161f
Make fileName a reference in a loop of main.cpp, and use findReferencesById() instead of findById() in ParseComponents.hpp 2021-08-20 00:08:51 +02:00
Username404 2e9e063d71
Use smart pointers instead of raw pointers in ParseComponents.hpp, remove an unused dependency in main.cpp and capture fileName by value in main.cpp to avoid using its reference after the current scope 2021-08-19 23:55:55 +02:00
Username404 845f356a86
Show a warning when CMake/CPack 3.21.1 is being used 2021-08-18 23:40:46 +02:00
Username404 4b0e58dd6a
Don't statically link libgcc, and don't use GCC/Clang flags on MSVC when cross-compiling for windows 2021-08-18 20:33:05 +02:00
Username404 66af9b9e2b
Update a multi-line comment in lexer.cpp 2021-08-18 19:36:30 +02:00
Username404 fd6ce35291
Add line numbers to Yerbacon::Exception 2021-08-18 19:31:02 +02:00
Username404 989650dba6
Catch exceptions in the main function 2021-08-18 18:59:46 +02:00
Username404 24d73a3f82
Add a note about the CMake 3.20+ requirement in the Jenkinsfile and set the used cmake installation to "Latest" 2021-08-18 14:17:39 +02:00
Username404 ab7fcee9a2
Set CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS in the Jenkinsfile to avoid errors caused by dpkg 2021-08-18 13:44:01 +02:00
Username404 df334ec693
Revert "Set the debian package dependencies manually."
This reverts commit 02f6a3db
2021-08-18 12:57:00 +02:00
Username404 3b31ad0c6d
Set the package architectures of x86 packages to i386 instead of i686 2021-08-17 17:48:16 +02:00
Username404 05e8c5c9b6
Build x86 packages in the Jenkinsfile 2021-08-17 17:31:35 +02:00
Username404 82dde27690
Use GNU strip on produced executables in the buildTarget functions of the Jenkinsfile 2021-08-16 11:52:38 +02:00
Username404 18da9b800a
Revert "Make enumerations and wide characters shorter by default when using a GNU compiler or Clang."
This reverts commit dad410f6
2021-08-16 11:41:58 +02:00
Username404-59 31858e68a0
Fix the buildTarget method's parameters again by making isPackageArchDeb a boolean 2021-08-16 00:24:54 +02:00
Username404 b8b809a876
Add a boolean parameter to the buildTarget function of the Jenkinsfile to choose whether to use the debian architecture or the rpm architecture in the names of produced packages 2021-08-15 21:27:29 +02:00
Username404 58e54f1b94
Always use clang with lld when compiling for the host platform in the Jenkins pipeline 2021-08-15 17:57:55 +02:00
Username404 4f0fa09cd9
Build packages for the aarch64 and armhf architectures in the Jenkinsfile 2021-08-15 17:19:37 +02:00
Username404 e874cbdf32
Use a dot instead of a hyphen for the package architecture suffix 2021-08-15 17:17:11 +02:00
Username404 7fd3cc32c8
Fix the position of the cmakeArgs arguments in functions calls in the Jenkinsfile, and add a CXX_TARGET variable 2021-08-15 17:08:24 +02:00
Username404 9f25ef909b
Re-add previously removed types in the Jenkinsfile 2021-08-15 16:40:50 +02:00
Username404 c17ec47d06
Add a missing $ when invoking cpack in the Jenkins pipeline 2021-08-15 16:25:39 +02:00
Username404 d25b0f71c8
Fix string interpolation in the Jenkinsfile using quotes 2021-08-15 16:24:27 +02:00
Username404 42ae8e1342
Define the buildTarget function outside of the Jenkins pipeline 2021-08-15 16:17:10 +02:00