Commit Graph

13 Commits

Author SHA1 Message Date
bae0d82f26 WE CAN MAKE FUNCTIONS NOW!!!!!!!!!!!!!!!!!!!!!!!!! 2022-08-25 18:49:43 +02:00
e0661f9f8f Run clang-format on project 2022-08-03 14:56:15 +00:00
77317650f5 Added Result class for error handling while parsing 2022-08-03 14:44:35 +00:00
416ad3dd85 Moved all benchmark code to main() 2022-06-22 18:19:27 +02:00
e4fd6c863a Updated Lexer::make_lexer to return a unique_ptr
This is part of my quest to replace all unneeded std::shared_ptrs for
std::unique_ptrs to improve performance, since there is no need for
reference counting for pointers that are uniquely used. I also had to
change the first parameter of Lexer::assign_parent_location to a
std::unique_ptr<Lexer>& so that it can accept the new result of
make_lexer.
2022-06-22 18:12:50 +02:00
8d71d9c120 benchmarking :) 2022-06-16 17:13:01 +02:00
8b1bb00d75 Precompiled Header :) 2022-06-16 15:56:10 +02:00
4f6a1235a0 used clang-format :) 2022-06-14 16:29:51 +02:00
c962c22017 Fixed a little segfault hehe :)) 2022-06-07 18:57:41 +02:00
7a320fb70a Updates hehe :) 2022-06-07 18:12:43 +02:00
60059e1091 ast stuff 2022-06-02 18:25:01 +02:00
f1668853dd Lots of rewrites.
Planning to use LLVM to make stuff easier. Also, moved the random
sapphire stuff to actual examples in an actual examples/ folder. Also
started a standard library even if the compiler is not ready, because
why not?? Also, it helps the examples.
2022-05-28 20:44:26 +02:00
1ba46c44cf Initial commit (added Sapphire to source control) 2022-03-11 17:00:09 +01:00