This website requires JavaScript.
e92b3cf12f
Fix an extra space being added in the stringInterpolation() function of Target.hpp
Username404
2021-08-28 23:25:16 +0200
50b84a03f3
Disable ccache in the Jenkinsfile
Username404
2021-08-28 23:11:51 +0200
34691f7a8f
Only set CCACHE_PRESENT when it is not already defined
Username404
2021-08-28 23:09:34 +0200
c186f30eef
Merge the noMultiline boolean into multiline in Target.hpp
Username404
2021-08-28 11:04:03 +0200
2dba7fbda6
Add experimental string transpilation with interpolation
Username404
2021-08-28 00:06:21 +0200
871ebabb11
Use ccache in builds when it is present
Username404
2021-08-27 12:08:56 +0200
1992e1d42b
Add transpilation of strings to lua-compatible ones, and fix a comment
Username404-59
2021-08-24 17:23:31 +0200
5d4be1039d
Add a new variadic lambda in Parser.hpp to check the types of tokens
Username404
2021-08-23 14:58:46 +0200
079d99e08a
Remove the parameter of Target.get(), add it to Target as a property and rename Target.get() to Target.on()
Username404
2021-08-23 12:49:22 +0200
664a6a92be
Begin adding transpilation of basic elements
Username404
2021-08-22 23:49:05 +0200
57f8f251bc
Add a CF_PROTECTION variable to hold the -fcf-protection flag in the CMakeLists.txt file
Username404-59
2021-08-22 17:03:53 +0200
9a1ea05e83
Add two optimization flags for the GNU compiler
Username404
2021-08-22 12:14:12 +0200
8c63f1ae8b
Capture fileName by reference since it is now one, and give a type to currentFuture
Username404
2021-08-20 10:39:17 +0200
fdb8579941
Fix a typo from the previous commit
Username404-59
2021-08-20 01:42:43 +0200
845794a922
Prevent the compilation output from being printed when printResult is false
Username404-59
2021-08-20 01:34:29 +0200
729e04161f
Make fileName a reference in a loop of main.cpp, and use findReferencesById() instead of findById() in ParseComponents.hpp
Username404
2021-08-20 00:07:51 +0200
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
Username404
2021-08-19 23:31:00 +0200
845f356a86
Show a warning when CMake/CPack 3.21.1 is being used
Username404
2021-08-18 23:40:32 +0200
4b0e58dd6a
Don't statically link libgcc, and don't use GCC/Clang flags on MSVC when cross-compiling for windows
Username404
2021-08-18 20:32:56 +0200
66af9b9e2b
Update a multi-line comment in lexer.cpp
Username404
2021-08-18 19:36:30 +0200
fd6ce35291
Add line numbers to Yerbacon::Exception
Username404
2021-08-18 19:31:02 +0200
989650dba6
Catch exceptions in the main function
Username404
2021-08-18 18:59:46 +0200
24d73a3f82
Add a note about the CMake 3.20+ requirement in the Jenkinsfile and set the used cmake installation to "Latest"
Username404
2021-08-18 13:48:29 +0200
ab7fcee9a2
Set CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS in the Jenkinsfile to avoid errors caused by dpkg
Username404
2021-08-18 13:38:58 +0200
df334ec693
Revert "Set the debian package dependencies manually."
Username404
2021-08-18 12:57:00 +0200
3b31ad0c6d
Set the package architectures of x86 packages to i386 instead of i686
Username404
2021-08-17 17:48:16 +0200
05e8c5c9b6
Build x86 packages in the Jenkinsfile
Username404
2021-08-17 17:31:35 +0200
82dde27690
Use GNU strip on produced executables in the buildTarget functions of the Jenkinsfile
Username404
2021-08-16 11:52:38 +0200
18da9b800a
Revert "Make enumerations and wide characters shorter by default when using a GNU compiler or Clang."
Username404
2021-08-16 11:41:58 +0200
31858e68a0
Fix the buildTarget method's parameters again by making isPackageArchDeb a boolean
Username404-59
2021-08-16 00:24:54 +0200
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
Username404
2021-08-15 21:19:05 +0200
58e54f1b94
Always use clang with lld when compiling for the host platform in the Jenkins pipeline
Username404
2021-08-15 17:57:55 +0200
4f0fa09cd9
Build packages for the aarch64 and armhf architectures in the Jenkinsfile
Username404
2021-08-15 17:19:37 +0200
e874cbdf32
Use a dot instead of a hyphen for the package architecture suffix
Username404
2021-08-15 17:17:11 +0200
7fd3cc32c8
Fix the position of the cmakeArgs arguments in functions calls in the Jenkinsfile, and add a CXX_TARGET variable
Username404
2021-08-15 16:43:35 +0200
9f25ef909b
Re-add previously removed types in the Jenkinsfile
Username404
2021-08-15 16:40:50 +0200
c17ec47d06
Add a missing $ when invoking cpack in the Jenkins pipeline
Username404
2021-08-15 16:25:39 +0200
d25b0f71c8
Fix string interpolation in the Jenkinsfile using quotes
Username404
2021-08-15 16:24:27 +0200
42ae8e1342
Define the buildTarget function outside of the Jenkins pipeline
Username404
2021-08-15 16:17:10 +0200
28fcc49572
Add a function to the Jenkinsfile and archive artifacts in each cmake-build directory
Username404
2021-08-15 16:13:24 +0200
7016eb18c4
Add the target architecture as a suffix to packages in CMakeLists.txt
Username404
2021-08-15 15:38:55 +0200
1f5c0b1b7a
Enable exceptions handling in the CMakeLists.txt file
Username404
2021-08-14 23:15:46 +0200
af3a9202c0
Make enumerations and wide characters shorter by default when using a GNU compiler or Clang.
Username404
2021-08-14 22:47:48 +0200
a3cdf22000
Inline the <<
operator in ParseComponents.hpp
Username404
2021-08-14 10:45:13 +0200
d6de61df99
Add a few optimizations for G++ in the CMakeLists.txt file
Username404
2021-08-11 22:42:32 +0200
5c3eecd560
Undefine YBCON_VERSION in Yerbacon.hpp
Username404
2021-08-10 15:48:26 +0200
e8916cf40f
Move the UNEXPECTED case in lexer.cpp
Username404
2021-08-10 14:55:28 +0200
f4297fe851
Use STRING directly in the getIdentifierCharType() function.
Username404
2021-08-10 14:01:20 +0200
e9ce6362af
Add a DOT token to lex.hpp, and only use the enum characters.
Username404
2021-08-10 13:54:50 +0200
7a23e31dea
Only define the CMAKE_RC_COMPILER when it isn't defined in the CMakeLists.txt file.
Username404
2021-08-10 12:22:28 +0200
404b580ec3
Don't execute make commands in parallel in the Jenkinsfile.
Username404
2021-08-10 11:00:08 +0200
41da4ef6ac
Add even more flags for the GNU and Clang compilers...
Username404
2021-08-10 10:58:18 +0200
8739623a08
Move the Clang flags to the CMAKE_CXX_FLAGS_RELEASE, and add another flag.
Username404
2021-08-10 10:44:17 +0200
f472878180
Use the flag added previously on Clang++ too, and replace occurrences of version numbers with the two variable containing minimal versions of compilers.
Username404
2021-08-10 10:32:04 +0200
cc0d29fda7
Add an optimization flags for GNU compilers in the CMakeLists.txt file.
Username404
2021-08-09 21:33:18 +0200
e414688156
Rename the second stage of the pipeline in the Jenkinsfile
Username404
2021-08-09 20:55:43 +0200
a875f8ab80
Only strip the executable found in ./cmake-build-release.
Username404
2021-08-09 18:29:13 +0200
ed6851f8e7
Re-add the cmake calls in the Jenkinsfile.
Username404
2021-08-09 18:14:56 +0200
b1e5c0f7ea
Fix the previous commit...
Username404
2021-08-09 18:04:13 +0200
9a9cc4aa50
Move cross-compilation to another stage in the Jenkinsfile.
Username404
2021-08-09 18:02:05 +0200
3c14405874
Add variables with the minimal versions of GNU and Clang in the CMakeLists.txt file
Username404
2021-08-09 17:17:38 +0200
043d2e7485
Make the GNU compiler message a FATAL_ERROR in the CMakeLists.txt file.
Username404
2021-08-09 14:39:09 +0200
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.
Username404
2021-08-09 10:55:59 +0200
3c703e55b5
Rename the findByName method to findReferenceByName, and add a findReferencesById method.
Username404
2021-08-08 23:44:42 +0200
9871cc66c7
Add a Reference structure to the StandardComponents namespace.
Username404
2021-08-08 22:53:29 +0200
43136672bd
Remove the ParseComponents constructor declaration and make NamedIdentifier.name a const variable again
Username404
2021-08-08 22:51:49 +0200
e8b2f90263
Return pointers in PareTree.findById() and return references in ParseTree.findByName().
Username404
2021-08-08 16:23:46 +0200
dd223026a0
Fix the findByName function.
Username404
2021-08-08 14:59:47 +0200
fa546865a0
Use runtime type information in ParseComponents.hpp.
Username404
2021-08-08 00:35:52 +0200
c23d88e0eb
Add a return type to the ParseTree "<<" operator.
Username404
2021-08-07 13:33:13 +0200
2a5df0bb32
Put the #ifdef directives before the case statements in Target.hpp to avoid issues.
Username404
2021-08-07 11:41:04 +0200
2f853fe797
Add unsigned short values to the tok::type enum and move the parseString function to misc.hpp.
Username404
2021-08-06 19:10:28 +0200
fbe8e189d3
Reuse a lambda in main.cpp.
Username404
2021-08-06 11:58:43 +0200
604532dc34
Make the Policy local variable a reference in main.cpp, remove a useless #include directive and include Yerbacon.hpp before future.
Username404
2021-08-06 11:37:47 +0200
c2a9c630ed
Update docs/gettingstarted.md.
Username404-59
2021-08-05 01:16:35 +0200
913bd4ba9b
Edit a line in the 5th section of docs/gettingstarted.md.
Username404-59
2021-08-05 01:00:25 +0200
55970f861d
Add a "Classes" section to the docs/gettingstarted.md file, and edit a few lines.
Username404
2021-08-05 00:29:00 +0200
328a073d50
Add a "dollar sign" token to lex.hpp and use it in lexer.cpp
Username404
2021-08-05 00:03:50 +0200
e3804aa342
Make the class names constant in ParseComponents.hpp.
Username404
2021-08-01 12:58:37 +0200
7ce27cc49d
Fix the function names in calls of the 2.3 section in docs/gettingstarted.md.
Username404
2021-07-31 22:36:03 +0200
dcbefc1a59
Update docs/gettingstarted.md: Add sub-sections about function parameters + function calls and a new section about comments.
Username404
2021-07-31 22:20:56 +0200
abf2747588
Add a missing dot in the README.MD file.
Username404-59
2021-07-31 22:03:20 +0200
6d2314af06
Fix the end of the third section in docs/gettingstarted.md (+ the Hello World code blocks), and add a note about primitive types.
Username404
2021-07-31 21:30:58 +0200
34777acc74
Rename the variable containing the name of classes in StandardComponents::Class, nest the Constructor structure in it and remove StandardComponents::ClassBody.
Username404
2021-07-31 21:17:57 +0200
677868a959
Add a directory with documentation files.
Username404
2021-07-31 21:04:15 +0200
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.
Username404
2021-07-31 18:56:17 +0200
ac195d413b
Undefine the ADDTARGET macro after the switch statement in Target.hpp
Username404
2021-07-31 18:38:57 +0200
bf5ca80c4d
Add a Macro to Target.hpp and check for a std::threads implementation in Yerbacon.hpp.
Username404
2021-07-31 16:47:00 +0200
905e7e7e82
Add lexing and parsing exceptions and parse = and #=
Username404
2021-07-29 17:35:35 +0200
ecc2683cea
Show an error when the executable is not found in scripts/ybcon.
Username404
2021-07-12 14:36:46 +0200
8598509f0b
Revert "Handle duplicated --printresult arguments."
Username404
2021-07-11 15:44:30 +0200
c8f3e689bd
Remove the library target since it won't be useful.
Username404
2021-07-10 12:00:19 +0200
3265e5f374
Remove transpile() from the misc.hpp header
Username404
2021-07-10 11:05:14 +0200
1bfb4cb54b
Add arguments.hpp, remove a few useless files, and add a library target to the CMakeLists.txt file.
Username404
2021-07-09 18:58:06 +0200
b1c8bc5b7f
Update README.md and use the right mingw32 executable on debian.
Username404
2021-07-09 18:39:08 +0200
6c62ee9f1a
Handle duplicated --printresult arguments.
Username404-59
2021-07-08 16:40:47 +0200
84b2d8812c
Fix the condition introduced in previous commits.
Username404-59
2021-07-08 12:57:33 +0200
710590fef6
Fix the previous commit.
Username404-59
2021-07-08 10:42:10 +0200
c3bf6609f2
Fix the shell script arguments not working at all.
Username404-59
2021-07-08 10:37:17 +0200
4b1dd01128
Complete the build requirements and the example in the README.md file.
Username404-59
2021-07-08 10:16:28 +0200