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
3d2fa00db8
Changed a path so that VSCode's Intellisense stops complaining
2022-07-18 15:59:04 +02:00
085677bc2b
Syscall* ASTNodes and LLVM IR generation for x86
...
Inline assembly for the win!
2022-07-18 15:57:16 +02:00
7522858897
basic LLVM IR building and parsing
2022-07-15 14:28:05 +02:00
b11a108e5f
we got a TESTING FRAMEWORK baby!!
2022-07-11 12:58:10 +02:00
98b14e6bf5
Finally, some real progress on the AST!!
2022-07-11 11:59:02 +02:00
73f3f20a71
updates
2022-07-10 18:53:05 +02:00
073039295d
updates
2022-07-02 12:03:06 +02:00
12e012606b
updates
2022-07-02 12:02:58 +02:00
69d5e29993
changes :)
2022-07-02 11:49:51 +02:00
ff90b07ac0
utils.h definition
2022-07-02 11:46:07 +02:00
c6038e8b61
doxygen test
2022-07-02 11:42:10 +02:00
8d1bf810c6
add doxygen to project
2022-07-02 11:37:20 +02:00
6f16b356ee
llvm
2022-06-22 20:38:39 +02:00
09efc613f0
Working on it working on bare debian with install
2022-06-22 20:31:57 +02:00
2d40c2d46d
zlib1g-dev
2022-06-22 20:24:16 +02:00
70e91ecd4c
More dependencies
2022-06-22 20:05:44 +02:00
efee23d509
Merge branch 'main' of /storage/code/sapphire
2022-06-22 19:53:35 +02:00
276675461d
more deps to build script
2022-06-22 19:52:45 +02:00
660cb3842b
ln -s on arch platforms
2022-06-22 19:51:59 +02:00
832ab3daf6
Finished basic README.md
2022-06-22 19:30:21 +02:00
48a76da07e
Added a lot of stuff to README.md
2022-06-22 19:12:41 +02:00
4395c0ec63
Added README.md
2022-06-22 18:25:07 +02:00
416ad3dd85
Moved all benchmark code to main()
2022-06-22 18:19:27 +02:00
1f11d8ce4d
benchmark() now takes a string
...
benchmark() now takes a message instead of getting the message from
__PRETTY_FUNCTION__, since it is more explicit
2022-06-22 18:16:45 +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
de0b3ddec6
NEWLINE FOR THE WIN
2022-06-16 16:01:35 +02:00
e35e85fe74
FormatString.hpp in utils.h
2022-06-16 15:57:05 +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
8fe5297933
clang-format file
2022-06-14 16:13:03 +02:00
243894a026
new changes i said
2022-06-09 17:24:50 +02:00
ca9da4c330
new syntax better
2022-06-09 17:24:38 +02:00
608f3a36bd
yes namespaces are neat but no
2022-06-08 20:19:27 +02:00
9ccb5e1a6b
docs for FileIO, a very enjoyable namespace
2022-06-08 20:19:01 +02:00
07c58aab41
disclaimer :)
2022-06-08 20:16:14 +02:00
09064b1581
More documentation for the Lexer
2022-06-08 20:06:56 +02:00