Commit Graph

14 Commits

Author SHA1 Message Date
Sameer Rahmani 2da5b1dedf Add the context options to the makeSereneContext function 2022-02-06 21:15:13 +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 851595ca7d Change the current namespace lookup behavior
* Change the way namespace creation works. We should create new
  namespaces via the context so we can insert them in the contenxt

* Change the way setting the current namespace works. `withCurrentNS`
  method gets a function as input param and a ns name and runs the
  function with the ns set as the current NS and restore the state
  after that

* Change the way Dylibs register with the context and namespaces
  and lookup the dylibs will use the context to use the most recent
  dylib of a namespace.
2022-01-02 18:57:36 +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 c41c91b335 Add the Halley JIT and migrate to it 2021-12-30 13:52:33 +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 55e0788bae Fix all the tidy issues on src 2021-10-17 16:06:52 +01:00
Sameer Rahmani 1bdc8aa9e9 Fix context's tidy issues 2021-10-17 11:19:12 +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 10015683f5 Refactor the passes name for slir lowering 2021-10-06 18:48:48 +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
Renamed from src/serene/context.cpp (Browse further)