|
c123965098
|
Heavily modify Target.hpp, add a pointerAs function, and add an overload to Yerbacon::exit
|
2021-10-28 22:26:08 +02:00 |
|
|
2cf523bf17
|
Replace "--newlinesoff" with an assignable argument ("--newlines=on/off")
|
2021-10-20 17:11:14 +02:00 |
|
|
88d22e6183
|
Add a "--buildInfo" argument to print the compiler and optimization options used when building
|
2021-10-20 17:08:41 +02:00 |
|
|
7b8b8addd6
|
Remove the isNPOS boolean and assign lastSlash to position1 when it isn't equal to string_view::npos
|
2021-10-15 13:02:46 +02:00 |
|
|
cd8b14e00b
|
Add a missing semicolon in the definition of isNPOS in main.cpp
|
2021-10-14 23:28:58 +02:00 |
|
|
0b20c24eba
|
Make position1 and position2 constant variables in main.cpp
|
2021-10-14 23:25:55 +02:00 |
|
|
b351280b5b
|
Always verify that position1 is not equal to string_view::npos in main.cpp
|
2021-10-14 23:16:17 +02:00 |
|
|
cf6e5cfaf8
|
Don't ignore '\' characters when '/' isn't present in file names
|
2021-10-14 22:52:44 +02:00 |
|
|
1b91a2a761
|
Do not output compilation results that are made of whitespace characters
|
2021-10-08 17:46:14 +02:00 |
|
|
2458c7bb6c
|
Return EXIT_FAILURE if one of the compilation units failed
|
2021-10-08 17:37:24 +02:00 |
|
|
a2b67298a4
|
Use filesystem::path::preferred_separator at compile time to remove a few preprocessor directives in main.cpp
|
2021-10-08 16:32:41 +02:00 |
|
|
429ed02483
|
Don't output useless new lines in main.cpp
|
2021-10-08 13:29:46 +02:00 |
|
|
8ab826bf68
|
Move a condition from Target.hpp to main.cpp and add a new Yerbacon::exit function
|
2021-10-07 21:39:48 +02:00 |
|
|
a64805bd35
|
Use the constant iterators from the files set in main.cpp
|
2021-10-05 20:11:07 +02:00 |
|
|
20eff1d7b5
|
Set the initial size of Units to the number of files instead of allocating memory and using a back_inserter
|
2021-10-05 09:28:43 +02:00 |
|
|
e04fc67aae
|
Reserve memory for the Units vector
|
2021-10-05 09:15:46 +02:00 |
|
|
70f93b9200
|
Use std::transform on the files set to output the results to the Units vector
|
2021-10-05 09:13:31 +02:00 |
|
|
1e7da048d4
|
Call std::for_each in main.cpp instead of using range-based loops, to allow the use of the parallel mode
|
2021-10-05 08:38:25 +02:00 |
|
|
a3d6c5d3bc
|
Rename the exceptions caught in main.cpp
|
2021-10-03 21:20:21 +02:00 |
|
|
7c9716c45e
|
Don't include <variant> in main.cpp since it's not being used
|
2021-10-03 19:20:51 +02:00 |
|
|
ff8bf6d1de
|
Remove a newline and use a multi-variable declaration for the local booleans in main.cpp
|
2021-10-03 15:28:24 +02:00 |
|
|
5cea9251bd
|
Return a string_view instead of a string in the ArgumentAssignable::getValueFor function
|
2021-10-03 12:20:59 +02:00 |
|
|
f227182713
|
Remove a condition that is useless because of 29a6eb3e
|
2021-09-29 18:18:37 +02:00 |
|
|
80118d29a7
|
Start iterating on arguments at 1 since argv[0] is the executable's path
|
2021-09-28 21:51:51 +02:00 |
|
|
8f60e7052f
|
Remove the (argc > 0) condition since argc is always 1 or higher
|
2021-09-28 21:42:13 +02:00 |
|
|
02e8de7243
|
Show an error when an invalid argument is provided
|
2021-09-28 21:34:22 +02:00 |
|
|
43b4629a6d
|
Fix the pairs returned by the futures of the Units set
|
2021-09-26 12:38:33 +02:00 |
|
|
700ab109d2
|
Make a set of files directly instead of adding them to a vector in main.cpp
|
2021-09-26 12:37:46 +02:00 |
|
|
477337f96b
|
Remove a condition which has been useless since the e6334ad8 commit in main.cpp
|
2021-09-25 22:08:55 +02:00 |
|
|
facf460923
|
Improve the lambda used to return the compilation result in main.cpp
|
2021-09-25 17:26:45 +02:00 |
|
|
66e1926783
|
Use the max function in main.cpp
|
2021-09-25 17:03:55 +02:00 |
|
|
82520e63ba
|
Handle the "--version" argument when iterating on argc
|
2021-09-21 21:45:31 +02:00 |
|
|
44e160ebf9
|
Don't throw an exception when "isTypeString" is false in lexer.cpp
|
2021-09-14 20:20:34 +02:00 |
|
|
2b84262ea0
|
Use std::filter and std::transform instead of the std::ranges library and make the destructor of the Target class virtual
|
2021-09-12 12:00:21 +02:00 |
|
|
96bd6bf708
|
Re-add the newlinesoff argument
|
2021-09-11 11:49:57 +02:00 |
|
|
bfa8f50ad9
|
Revert "Add a "SEPARATOR" token type"
This reverts commit 47478173
|
2021-09-11 11:35:22 +02:00 |
|
|
6de05633d9
|
Add a "SEPARATOR" token type
|
2021-09-10 22:15:05 +02:00 |
|
|
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 |
|
|
1992e1d42b
|
Add transpilation of strings to lua-compatible ones, and fix a comment
|
2021-08-24 17:23:31 +02:00 |
|
|
664a6a92be
|
Begin adding transpilation of basic elements
|
2021-08-22 23:57:18 +02:00 |
|
|
8c63f1ae8b
|
Capture fileName by reference since it is now one, and give a type to currentFuture
|
2021-08-20 10:41:09 +02:00 |
|
|
fdb8579941
|
Fix a typo from the previous commit
|
2021-08-20 01:42:43 +02:00 |
|
|
845794a922
|
Prevent the compilation output from being printed when printResult is false
|
2021-08-20 01:34:29 +02:00 |
|
|
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 |
|
|
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 |
|
|
989650dba6
|
Catch exceptions in the main function
|
2021-08-18 18:59:46 +02:00 |
|
|
fbe8e189d3
|
Reuse a lambda in main.cpp.
|
2021-08-06 11:58:43 +02:00 |
|
|
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 |
|
|
8598509f0b
|
Revert "Handle duplicated --printresult arguments."
This reverts commit 25b50d1c
|
2021-07-11 15:44:30 +02:00 |
|
|
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 |
|