Sameer Rahmani
f473d1122b
Change the license to GPL2
2021-10-12 20:51:03 +01:00
Sameer Rahmani
766cf2dfed
Add the error code to the diagnostic
2021-09-12 20:31:12 +01:00
Sameer Rahmani
70df6f4368
Remove the ungetChar method from reader
2021-09-12 20:31:12 +01:00
Sameer Rahmani
5491660261
Add our own dianostic engine
2021-09-12 20:31:12 +01:00
Sameer Rahmani
3ace6ec260
Chaneg the namespace to generate modules instead of owning them
2021-08-17 09:57:26 +01:00
Sameer Rahmani
782c786baf
Reformat files with the new clang-format config
2021-06-13 22:58:46 +01:00
Sameer Rahmani
ff82772cd6
Implement a basic environment setup/lookup via 'def' and 'list'
2021-05-08 19:00:24 +01:00
Sameer Rahmani
bbf3bd3660
Clean up the unsed expr traits
2021-05-06 21:00:58 +01:00
Sameer Rahmani
fde6636ca2
Modify the Node and MaybeX to contain Serene's Error instead of llvm
...
Previously, MaybeNode and MaybeAST use to have the llvm::Error as the
error type. But after this change they will have a `vector` of
`serene::errors::Error` as the error type.
2021-05-06 19:17:57 +01:00
Sameer Rahmani
add3765982
Add necessary Traits to construct an Expression alternative
2021-05-04 21:10:52 +01:00
Sameer Rahmani
7bc9535617
Rename 'maybe_node' type to 'MaybeNode'
2021-04-25 23:05:21 +01:00
Sameer Rahmani
095d1872c1
Rename the 'node' type to 'Node'
2021-04-25 23:02:52 +01:00
Sameer Rahmani
4084135851
Extract SereneContext to the top level namespace
2021-04-25 09:56:28 +01:00
Sameer Rahmani
499852c48f
Rename Semantic Context to Serene Context to be used in other phases too
2021-04-25 09:17:58 +01:00
Sameer Rahmani
573550ca07
Add Fn expression and List rewrite to Fn
2021-04-24 14:39:43 +01:00
Sameer Rahmani
806987b0ad
Setup the minimal semantic analysis foundation
2021-04-22 10:20:15 +01:00
Sameer Rahmani
f614d35b7f
Change toString format and finalize Def::isValid signature
2021-04-22 00:49:11 +01:00
Sameer Rahmani
17b778bc49
Move the Error expression to it's own namespace
2021-04-19 23:34:39 +01:00
Sameer Rahmani
555e770c01
Finalize migration to new expression interface
2021-04-11 00:02:56 +01:00