Commit Graph

5 Commits

Author SHA1 Message Date
7b470b1e76 Spread out implementations of symbol and attrs-related things, add impl
blocks for TranslateAst

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-21 18:51:54 -04:00
0eaa5060a2 Run cargo fmt
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-20 15:25:10 -04:00
32591f5e29 Update how visitors work, add NameId type
* Visitors are now defined on a per-type level, allowing for greater
  flexibility in combining and re-using behavior
* NameId is used for namespaces, which are used to index locally scoped
  variables. Syms are used for free namespaces, specifically in objects.
  All NameIDs are symbols, while not all symbols are NameIDs.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-20 14:41:12 -04:00
d5cf39108b Changes all around - objects and GC
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-16 18:46:09 -04:00
a15dde0fc2 Add vm and compile modules
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2020-05-16 12:56:52 -04:00