Commit Graph

18 Commits

Author SHA1 Message Date
Sameer Rahmani 6d34e58665 Fix the wrong constant opretation 2021-12-24 16:52:43 +00:00
Sameer Rahmani 3e82b71903 Fix the compatiblity issues with llvm version aff028f7d8322c625422febd3d8b9794746cdc5b 2021-12-15 17:26:08 +00:00
Sameer Rahmani b3d1151a8b Refactor the semantic analyzer to use the analysis state
* Refactor the semantic analyzer to use the new state struct
  which is just bunch of refs to the current ns and current env

* Add the `environments` vector to ns to store the environments
  and few helper functions to use it

* Add the `symbolList` (need a better name) to keep track of what
  symbols might be added to the namespace after calling `addTree`.
2021-11-17 17:37:45 +00:00
Sameer Rahmani 800105dbea Merge jit2 branch 2021-11-12 16:28:34 +00:00
Sameer Rahmani 981e5171b2 Setup the base none lazy jit 2021-11-10 19:40:51 +00:00
Sameer Rahmani 0895a09db0 Revome the old clang driver approach for code generation 2021-11-03 18:27:20 +00:00
Sameer Rahmani 69e8782c67 finalize ep 12 2021-11-03 14:06:45 +00:00
Sameer Rahmani 5622b4de0c Prepare for ep 12 2021-11-02 22:05:34 +00:00
Sameer Rahmani 34d3513426 Start the new jit 2021-11-01 15:09:11 +00:00
Sameer Rahmani fc11896c28 Add the read and print functionality to the repl 2021-10-24 23:34:28 +01:00
Sameer Rahmani cbb0b0428e Hide the clang-tidy behind a build option 2021-10-17 22:22:49 +01:00
Sameer Rahmani fd66e47cd7 Fix all the tidy issues 2021-10-17 20:12:17 +01:00
Sameer Rahmani b79f7a62c1 Fix the clang tidy's issues in serenec 2021-10-17 02:12:19 +01:00
Sameer Rahmani f473d1122b Change the license to GPL2 2021-10-12 20:51:03 +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 2634fdb5f4 Clean up the src/ cmakefiles 2021-09-28 17:45:59 +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