Commit Graph

709 Commits

Author SHA1 Message Date
Sameer Rahmani 49e3f16901 Add the builder tasks to build and release docker images 2022-02-15 21:34:29 +00:00
Sameer Rahmani bcbf49c1a1 Setup Sphinx and doxygen in CMake for the docs 2022-02-15 21:33:11 +00:00
Sameer Rahmani 00592d6af1 Add new doxygen setup 2022-02-12 22:25:22 +00:00
Sameer Rahmani b210e3a349 Clean up the diagnostocs header file 2022-02-12 21:06:59 +00:00
Sameer Rahmani bc3908a958 Refactor the builder script 2022-02-09 19:08:31 +00:00
Sameer Rahmani f663ba0c25 Fix the license header 2022-02-08 17:56:15 +00:00
Sameer Rahmani 7dc587ecbc Setup the dockerfiles necessary to build serene in a container 2022-02-08 17:43:29 +00:00
Sameer Rahmani 2da5b1dedf Add the context options to the makeSereneContext function 2022-02-06 21:15:13 +00:00
Sameer Rahmani 008ba402f0 Migrate to llvm::5372160a18 2022-02-06 18:37:44 +00:00
Sameer Rahmani 96438bf90b Migrate to llvm::Error 2022-02-05 11:59:00 +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 95e9edf61e Add the notes for episode 16 2022-01-30 20:01:32 +00:00
Sameer Rahmani 51a412d56d Fix the generated errors in tbl-srn 2022-01-28 11:46:40 +00:00
Sameer Rahmani 935634b7c8 Update the license header for 2022 2022-01-27 11:44:44 +00:00
Sameer Rahmani cff5c28c95 Add tbl-srn generator to the cmake pipeline 2022-01-27 11:29:58 +00:00
Sameer Rahmani 7638c631ed Fix the complexity of errors-backeds run 2022-01-23 15:08:38 +00:00
Sameer Rahmani 1c935928e5 Create a bare minimum error backend for tbl-srn 2022-01-22 22:16:52 +00:00
Sameer Rahmani c7e6e8d9a5 Create a very basic tablegen instance 2022-01-22 19:10:57 +00:00
Sameer Rahmani a085f0b7ea Create a tablegen instance for Serene to be used locally 2022-01-22 17:56:45 +00:00
Sameer Rahmani cfa4f54b5a Setup the symbol type in SLIR 2022-01-22 11:31:04 +00:00
Sameer Rahmani 656adafd7e Add the symbol type to SLIR 2022-01-18 19:45:30 +00:00
Sameer Rahmani c63425485c Add addAST function to the JIT 2022-01-18 19:45:08 +00:00
Sameer Rahmani 8c85dd4bbe Finish the slides for episode 15 2022-01-09 11:55:34 +00:00
Sameer Rahmani fd668bbb34 Fix the linking issue with llvm dev version 2022-01-05 16:18:32 +00:00
Sameer Rahmani 37f6798c5e Add jit related todos to dev.org 2022-01-03 16:57:31 +00:00
Sameer Rahmani 95e7e37071 Add the compiled notify callback to spit out debug info on Halley 2022-01-03 16:08:01 +00:00
Sameer Rahmani afc6873c64 Add basic LLLazyJIT support to Halley 2022-01-03 14:08:47 +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 0863a2561f Remove output logs from the JIT 2021-12-31 12:06:49 +00:00
Sameer Rahmani 3bacfe59aa Setup the function packing on the JIT 2021-12-31 12:02:25 +00:00
Sameer Rahmani c41c91b335 Add the Halley JIT and migrate to it 2021-12-30 13:52:33 +00:00
Sameer Rahmani 123a3e8d4f Add the more resouces about JIT to dev.org 2021-12-29 13:12:36 +00:00
Sameer Rahmani 6d34e58665 Fix the wrong constant opretation 2021-12-24 16:52:43 +00:00
Sameer Rahmani aca81f8d61 Finalize EP14 2021-12-19 21:45:49 +00:00
Sameer Rahmani 4c07544141 Add the supporters file 2021-12-17 15:23:05 +00:00
Sameer Rahmani 8558b2e57b Change the freenode name to libera 2021-12-17 15:11:32 +00:00
Sameer Rahmani 3e82b71903 Fix the compatiblity issues with llvm version aff028f7d8322c625422febd3d8b9794746cdc5b 2021-12-15 17:26:08 +00:00
Sameer Rahmani 76a9106559 update the slides for ep13 2021-11-27 17:49:24 +00:00
Sameer Rahmani e825367f95 Add the notes for episode 13 2021-11-26 15:43:47 +00:00
Sameer Rahmani b6ac7f3f5f Add the ast layer to the jit 2021-11-19 00:41:28 +00:00
Sameer Rahmani 5a57f7c98b Add the idea of destructure types 2021-11-18 10:03:41 +00:00
Sameer Rahmani b1ce34db75 Fix the assert condition on getRootEnv 2021-11-17 17:50:09 +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 3da6d2d1fc Fix the lookup process on the new jit 2021-11-12 16:20:22 +00:00
Sameer Rahmani 86a6b985e4 Remove the namespace name from the symbol look up in JIT 2021-11-12 11:49:45 +00:00
Sameer Rahmani b4f31984c4 Update the dev.org to add a new todo 2021-11-11 15:37:23 +00:00
Sameer Rahmani 981e5171b2 Setup the base none lazy jit 2021-11-10 19:40:51 +00:00
Mary 55780103f4 Merge reader.cpp and location.cpp 2021-11-09 22:30:47 +00:00