Commit Graph

107 Commits

Author SHA1 Message Date
fb990ac4a8 Build with -Wall, -Wextra, -Werror and -pedantic
Helps a lot, I've discovered in the past months.
2022-11-01 22:26:49 +01:00
dbd5627fe6 Update examples 2022-08-26 18:19:45 +02:00
26a8953060 Prevent generateASTNode from overwriting a file if it already exists 2022-08-26 18:18:34 +02:00
c52492f6c0 Update tests 2022-08-26 18:02:39 +02:00
dc85a8b296 Avoid forward declaring the entry point without actually defining it 2022-08-26 17:33:03 +02:00
734537a528 implicit casts between integer/floating point types yay!! 2022-08-26 17:29:20 +02:00
792a689005 Tests... LOTS OF TESTS 2022-08-26 17:05:03 +02:00
6ce5d406bb FUNCTION RETURN TYPES!!!! 2022-08-26 16:22:40 +02:00
0d6651f813 Change -m* arguments to -* 2022-08-26 16:03:54 +02:00
5a0b183198 Check for entry point before code generation 2022-08-26 16:02:07 +02:00
cb5f41a7c8 Update Arguments 2022-08-26 15:55:45 +02:00
bbf31e9688 Update vscode syntax 2022-08-26 12:09:28 +02:00
99f56d3a61 REFACTOR!! 2022-08-26 12:00:14 +02:00
7094698df7 Create License and update README.md 2022-08-25 20:37:50 +02:00
ef6a993fde Update README.md 2022-08-25 20:25:38 +02:00
f9e360ce70 Update README.md 2022-08-25 20:19:42 +02:00
318e8a2154 Remove Doxygen.
This is not a library. This is a compiler. Why would we need generated documentation for every class in the source code?
2022-08-25 20:13:58 +02:00
85c0ad4a92 It's gone.
I mean, still viewable through Git history. That's why I removed it.
2022-08-25 20:12:13 +02:00
59a80100db Location: Rewrite str and paren_str 2022-08-25 20:10:13 +02:00
a9a21b19e0 Change paren_str to use format_string, removing a warning 2022-08-25 20:02:23 +02:00
b1c7a26cfb You can now forward declare functions! 2022-08-25 19:15:43 +02:00
bae0d82f26 WE CAN MAKE FUNCTIONS NOW!!!!!!!!!!!!!!!!!!!!!!!!! 2022-08-25 18:49:43 +02:00
06d7f6bb09 Update examples 2022-08-25 10:02:45 +02:00
55018e8b6d Update examples 2022-08-25 10:01:44 +02:00
d0c219e839 Update examples 2022-08-25 10:01:14 +02:00
d341e90237 Return from unreachable spot 2022-08-24 16:35:05 +02:00
3f70d4b8b6 IT OUTPUTS OBJECT FILES!!!!!!!!!!!!!!!!!!!!!!!!!! 2022-08-24 16:24:32 +02:00
322a87ef29 Remove cache folder 2022-08-24 13:45:57 +02:00
13393d75f0 Update .gitignore 2022-08-24 13:45:33 +02:00
121d8447df Update tests 2022-08-24 13:41:22 +02:00
cc5013ec6f Run clang-format on project 2022-08-03 15:30:35 +00:00
02a65ebb58 Add UnaryOpNode to CMakeLists.txt 2022-08-03 15:28:59 +00:00
072e58b276 Added UnaryOpNode class 2022-08-03 15:26:48 +00:00
3289ae0148 Added error on unfinished parsing 2022-08-03 15:22:13 +00:00
e0661f9f8f Run clang-format on project 2022-08-03 14:56:15 +00:00
3eea369072 Shebangs!! 2022-08-03 14:55:04 +00:00
7c130a0d40 Actually show errors 2022-08-03 14:47:51 +00:00
77317650f5 Added Result class for error handling while parsing 2022-08-03 14:44:35 +00:00
582ce26776 Add Result class inspired by Rust 2022-07-30 12:54:25 +00:00
1827b27996 Move FormatString and tclap into their own external/ directory 2022-07-30 12:38:52 +00:00
c06ca7bf99 Move FormatString and tclap into their own external/ directory 2022-07-30 12:37:37 +00:00
2d1abc5a85 Update README.md 2022-07-19 15:33:22 +02:00
5efdc23006 Benchmark Parsing and IR Generation 2022-07-19 15:25:53 +02:00
1626e74e45 --config for build 2022-07-19 15:19:19 +02:00
3b10799387 --config by DCMAKE_BUILD_TYPE 2022-07-19 15:18:15 +02:00
a3fc4c3f32 update some stuff 2022-07-19 15:17:00 +02:00
af0fb223be updates to the sapphire.sh script 2022-07-19 15:11:24 +02:00
434405afb4 format and lint tasks 2022-07-19 14:18:53 +02:00
723b74da13 Regenerated test suite + new test calc.sp 2022-07-18 16:06:03 +02:00
4ff4f33828 Simple shell script to generate a template ASTNode 2022-07-18 15:59:47 +02:00