Commit Graph

27 Commits

Author SHA1 Message Date
375f10acb3
Re-enable EXIT_RUNTIME to replace emscripten_force_exit
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-02-11 03:23:32 +01:00
f2347725e1
Yerbacon.hpp: Remove a useless "using" statement
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-22 01:30:55 +01:00
e3ae8da799
Yerbacon.hpp: Add a yerbacon_output variable to use in JavaScript
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-19 13:14:32 +01:00
1aada9d23f
main.cpp: Force runtime exit when using node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-08 01:12:54 +01:00
d1ebbda173
Mount the filesystem when running on node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-04 13:50:27 +01:00
caf5bc338d
Yerbacon.hpp: Don't check for __cpp_using_enum
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-09-18 20:18:36 +02:00
beb28ef4ad
Rename the Yerbacon::exit function to Yerbacon::fail
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-02-14 14:12:00 +01:00
de2d936e19
Use dynamic_cast instead of reinterpret_cast in Target.hpp and ParseComponents.hpp, and extend the ParseComponent class virtually in the ParseTree and NamedIdentifier classes
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-02-14 14:12:00 +01:00
eb586a2899
Use generic_category::message() instead of strerror() in filefuncs.cpp 2022-02-14 14:12:00 +01:00
e720ff0f2d
Add an error message when an exception is thrown from the getFileContent() function & --parallel is not in use, and support MSVC 2022-02-14 14:12:00 +01:00
d2c0ef185f
Add the C++ standard to the getBuildInfo() function by adding two new macros: "token_expansion" and "make_string" 2022-02-14 14:12:00 +01:00
1b9b281dec
Heavily modify Target.hpp, add a pointerAs function, and add an overload to Yerbacon::exit 2022-02-14 14:11:20 +01:00
88d22e6183
Add a "--buildInfo" argument to print the compiler and optimization options used when building 2021-10-20 17:08:41 +02:00
429ed02483
Don't output useless new lines in main.cpp 2021-10-08 13:29:46 +02:00
dc21af192b
Make Yerbacon::exit a static function 2021-10-07 22:01:23 +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
57a01e6c32
Remove a redundant public section in Yerbacon::Exception and make the second constructor call the first one 2021-10-02 13:33:50 +02:00
f0aeda7c8a
Check for missing standard library definitions in Yerbacon.hpp 2021-10-02 12:59:33 +02:00
c696b440e7
Fix a memory leak caused by the constness of the exceptionCause string in Yerbacon::Exception 2021-09-25 17:37:12 +02:00
fd6ce35291
Add line numbers to Yerbacon::Exception 2021-08-18 19:31:02 +02:00
989650dba6
Catch exceptions in the main function 2021-08-18 18:59:46 +02:00
5c3eecd560
Undefine YBCON_VERSION in Yerbacon.hpp 2021-08-10 15:48:26 +02:00
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
905e7e7e82
Add lexing and parsing exceptions and parse = and #= 2021-07-29 17:35:35 +02:00
db14d469bd
Ad a warning in Yerbacon.hpp that shows up when YBCON_VERSION isn't already defined. 2021-07-07 20:06:18 +02:00
07ca24c610
Move the YBCON_VERSION redefinition to Yerbacon.hpp. 2021-07-06 17:29:26 +02:00
3359dc7649
Add a Yerbacon header (+ namespace) and move the getVersion function into it. 2021-07-06 15:43:52 +02:00