Commit Graph

11 Commits

Author SHA1 Message Date
Sameer Rahmani 64ee59fbc8 Finish up the errors-backend and migrate serene's errs to llvm: 2022-02-04 22:47:01 +00:00
Sameer Rahmani 935634b7c8 Update the license header for 2022 2022-01-27 11:44:44 +00:00
Sameer Rahmani 28baf8fb9a Add the JITDylib registery on SereneContext and addNS in Halley 2022-01-01 22:15:30 +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
Mary 55780103f4 Merge reader.cpp and location.cpp 2021-11-09 22:30:47 +00:00
Sameer Rahmani fc11896c28 Add the read and print functionality to the repl 2021-10-24 23:34:28 +01:00
Sameer Rahmani 3fb6fb3740 Change the reader interface to return errors instead of emiting them
* Change the `Result` interface to let the compiler use the concrete
  type in place of a `Result`
2021-10-24 12:34:20 +01:00
Sameer Rahmani 55e0788bae Fix all the tidy issues on src 2021-10-17 16:06:52 +01:00
Sameer Rahmani 737226dbae Fix the reader tidy issues 2021-10-17 14:57:17 +01:00
Sameer Rahmani f473d1122b Change the license to GPL2 2021-10-12 20:51:03 +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