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
cfa4f54b5a
Setup the symbol type in SLIR
2022-01-22 11:31:04 +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
34d3513426
Start the new jit
2021-11-01 15:09:11 +00: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
54aa50f020
Fix the exprs dir's tidy issues
2021-10-17 14:33:16 +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
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