Commit Graph

4 Commits

Author SHA1 Message Date
Sameer Rahmani 58274835b1 Mov out libserene and serene-tblgen to the root 2022-02-17 15:02:08 +00:00
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 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
Renamed from src/libserene/reader/semantics.cpp (Browse further)