summaryrefslogtreecommitdiff
path: root/ccross.sml
diff options
context:
space:
mode:
authorVladimir Azarov <avm@intermediate-node.net>2025-05-26 14:42:35 +0200
committerVladimir Azarov <avm@intermediate-node.net>2025-05-26 14:42:35 +0200
commit6f3fa80b37ca5f8d992f5d6f66aee77ead303bf4 (patch)
tree1d3099280e63fac03d906b24bc6b877840348eab /ccross.sml
parentc6b6203f8420f76a47433717eab8026d524ec5c1 (diff)
Symbol table
Diffstat (limited to 'ccross.sml')
-rw-r--r--ccross.sml3
1 files changed, 2 insertions, 1 deletions
diff --git a/ccross.sml b/ccross.sml
index 92810b8..64be5db 100644
--- a/ccross.sml
+++ b/ccross.sml
@@ -1,6 +1,7 @@
structure ccross:> CCROSS = struct
+ structure ST:> SYMTAB = Symtab(Hashtable)
structure T:> TOKENIZER =
- Tokenizer(structure H = Hashtable; structure S = Stream)
+ Tokenizer(structure ST = ST; structure S = Stream)
structure ppc:> PPC = ppc(structure Tree = Tree; structure T = T)
structure Parser:> PARSER = Parser(ppc)
structure D:> DRIVER = Driver(Parser)