Commit Graph

85 Commits

Author SHA1 Message Date
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
6c62ee9f1a
Handle duplicated --printresult arguments. 2021-07-08 16:40:47 +02:00
3359dc7649
Add a Yerbacon header (+ namespace) and move the getVersion function into it. 2021-07-06 15:43:52 +02:00
46a3964596
Don't include the thread header in main.cpp 2021-07-06 12:26:17 +02:00
87de5ca3f4
Use the deferred policy when --parallel isn't present. 2021-07-06 12:25:13 +02:00
61946b891f
Use futures instead of threads to get better console output 2021-07-06 12:07:35 +02:00
314cff7f49
Add a --parallel argument to enable multithreading. 2021-07-06 11:37:43 +02:00
9f5a6c1631
Remove a useless goto statement in main.cpp. 2021-06-14 17:41:48 +02:00
78cf850533
Fix the "No valid file provided." sentence that was not being printed. 2021-06-11 13:25:16 +02:00
a9d137fab6
Use the assign operator for a few variables in main.cpp. 2021-06-10 21:58:08 +02:00
af729c527b
Fix the previous commit by adding an outputFile string. 2021-06-10 17:27:50 +02:00
c5d33fd480
Add support for multiple input files 2021-06-10 16:29:54 +02:00
Username404
e356ceab0c
Use a static cast in the main function. 2021-04-24 18:23:37 +02:00
Username404
85c155fc3b
Remove a parameter from the setOutputFileContent function and remove a variable in the main function. 2021-04-24 17:58:12 +02:00
9869f73e35
Use a reference as the parseString function's parameter instead of a unuseful pointer. 2021-03-25 21:15:21 +01:00
5972f0ef4c
Add a (definetly incomplete) ParseComponents.hpp file and move the extern declarations of main.cpp to misc.hpp. 2021-03-04 11:18:11 +01:00
6d2c23bb39
Add a misc.hpp file. 2021-03-03 19:47:25 +01:00
179d3813ab
Modify src/main.cpp a bit. 2021-03-02 12:22:56 +01:00
a427010099
Complete scripts/fish-completion.fish, improve scripts/ybcon.sh and add a --version argument. 2021-02-26 20:28:53 +01:00
fe8be54005
Improve scripts/bash-completion.sh and the command line arguments a bit. 2021-02-26 12:32:43 +01:00
69a50e1e79
Add a postinstall script for the linux packages, permit the use of -p instead of -printresult for the ybcon arguments, and change the installation directory to /opt/bin. 2021-02-25 17:59:18 +01:00
618d2bab60
Don't make a new string variable in the validLanguage() function of MainTranspile.cpp. 2021-02-19 15:56:21 +01:00
git
32e55aa035
Move "[WIP]" out of the main part of the outputted string. 2021-02-12 22:44:41 +01:00
34c3cfb041
Hidden git history due to a license change. 2021-02-12 15:07:03 +01:00
42215fb3e6
Initial commit 2020-12-11 22:24:44 +01:00