Commit Graph

340 Commits

Author SHA1 Message Date
Sameer Rahmani 895ff27a51 Remove useless null checks from the passes 2021-10-16 20:48:14 +01:00
Sameer Rahmani 4b03316d81 Add include_what_you_use to the cmake files 2021-10-16 16:16:18 +01:00
Sameer Rahmani e5c5a68128 Clean up the slir lowering impl 2021-10-16 16:15:56 +01:00
Sameer Rahmani 5a9c256325 Add the panic function to diag and change getCurrentNS to return a ref 2021-10-13 11:27:54 +01:00
Sameer Rahmani c6e5bddf10 Move the linenoise to a serene dir to mark it as a local header 2021-10-13 09:49:50 +01:00
Sameer Rahmani c05d42107f Setup the serene-repl target with a basic REPL loop 2021-10-12 22:50:08 +01:00
Sameer Rahmani f473d1122b Change the license to GPL2 2021-10-12 20:51:03 +01:00
Sameer Rahmani 43dd4ac48d Add the RPATH posix fix support to libserene target 2021-10-12 14:45:46 +01:00
Sameer Rahmani e3fde6dfc1 Add link_what_you_use support to the build setup 2021-10-10 22:28:50 +01:00
Sameer Rahmani 7a456e2d54 Add support for a shared libserene and make it the default behaviour 2021-10-10 21:34:14 +01:00
Sameer Rahmani 54d85eac94 Fix the memory leak on pass failure in the namespace generate function 2021-10-06 21:07:56 +01:00
Sameer Rahmani 10015683f5 Refactor the passes name for slir lowering 2021-10-06 18:48:48 +01:00
Sameer Rahmani 2634fdb5f4 Clean up the src/ cmakefiles 2021-09-28 17:45:59 +01:00
Sameer Rahmani 2dca8e812e Fixed the pre-commit hook name 2021-09-28 17:16:15 +01:00
Sameer Rahmani a174a3a342 Refactor the cmake script and move the binary into its own package 2021-09-28 17:11:50 +01:00
Sameer Rahmani 5802e87121 Add CCache support to cmake list 2021-09-27 15:25:06 +01:00
Sameer Rahmani 225ff6bba1 Refactor the main cmake list file and fix the unused warns 2021-09-27 13:05:15 +01:00
Sameer Rahmani 6ef69d329a Move the semantic analysis process into the namespace 2021-09-25 16:18:33 +01:00
Sameer Rahmani dc051797ee Fix the fn slir generation proccess 2021-09-23 19:24:51 +01:00
Sameer Rahmani 00869e6c8d Replace some of the Result types with llvm::Optional 2021-09-19 10:27:13 +01:00
Sameer Rahmani 3c19cace5f Add more logs to the pre commit hook 2021-09-17 13:51:30 +01:00
Sameer Rahmani ba77f9bc99 Fix the readNamespace in the serenec 2021-09-17 13:49:55 +01:00
Sameer Rahmani a00ba492e6 Remove the old pre commit hook 2021-09-16 18:02:51 +01:00
Sameer Rahmani 3aa2e3291d Add the git add fn to the pre commit hook 2021-09-16 18:02:00 +01:00
Sameer Rahmani 8ee7634782 Fix the precommit hook issue 2021-09-16 18:00:24 +01:00
Sameer Rahmani 60b8347eca Mark the precommit hook as executable 2021-09-16 17:56:51 +01:00
Sameer Rahmani 03926b3d22 Mark the precommit hook as executable 2021-09-16 17:56:12 +01:00
Sameer Rahmani 845cdfa7d5 Mark the precommit hook as executable 2021-09-16 17:47:35 +01:00
Sameer Rahmani fe63407aed Create a new and simpler pre-commit hook 2021-09-16 17:46:30 +01:00
Sameer Rahmani 2aacd0a0e5 Improve the git precommit hook to fix the includes 2021-09-16 17:30:16 +01:00
Sameer Rahmani 5ff52c277a Clean up the source manager 2021-09-15 15:04:11 +01:00
Sameer Rahmani 91aa0148d6 Create a basic print function for the diagnostic class 2021-09-12 20:31:12 +01:00
Sameer Rahmani 766cf2dfed Add the error code to the diagnostic 2021-09-12 20:31:12 +01:00
Sameer Rahmani b285172597 Finalize the new approach to reading chars in the reader 2021-09-12 20:31:12 +01:00
Sameer Rahmani 70df6f4368 Remove the ungetChar method from reader 2021-09-12 20:31:12 +01:00
Sameer Rahmani 5491660261 Add our own dianostic engine 2021-09-12 20:31:12 +01:00
Sameer Rahmani 800e3c5fc8 Introduce the notion of ns and filename in the reader and location 2021-09-12 20:31:11 +01:00
Sameer Rahmani f357b5e9d3 Add the a source manger and integrate the reader with it 2021-09-12 20:31:10 +01:00
Sameer Rahmani f980da8e4e Finish up the episode 8 slides 2021-09-05 19:40:18 +01:00
Sameer Rahmani 7410ca3d59 Upgrade to llvm 13rc2 2021-08-28 18:01:48 +01:00
Sameer Rahmani 6f218d8cab Add a todo for another assertion 2021-08-22 11:09:30 +01:00
Sameer Rahmani 36b95fe1e5 Tidy up the target files for episode 7 2021-08-21 18:46:49 +01:00
Sameer Rahmani a1d3ae8c9c Finish up the wiring of the very basic JIT implementation. 2021-08-17 09:57:26 +01:00
Sameer Rahmani aba81bfcae Move over a modified version of MLIR jit. Add the pch 2021-08-17 09:57:26 +01:00
Sameer Rahmani 8af6452457 Fix the serenec to use the new ns api 2021-08-17 09:57:26 +01:00
Sameer Rahmani 3ace6ec260 Chaneg the namespace to generate modules instead of owning them 2021-08-17 09:57:26 +01:00
Sameer Rahmani ae2e6a74a0 Add the vector logo 2021-08-15 12:08:35 +01:00
Sameer Rahmani 06ed3b0c69 Add several TODOs for the asserts we need to remove 2021-08-07 21:09:18 +01:00
Sameer Rahmani 32b406fdad Prepare tho source tree for episode number 6 2021-08-07 17:41:19 +01:00
Sameer Rahmani 54b4458a8d Cleanup the exprs namespace for the episode 5 2021-07-30 12:17:41 +01:00