]> gitweb.factorcode.org Git - factor.git/commitdiff
toml: fixed issue with reload compile
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 1 Jun 2023 03:48:26 +0000 (20:48 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 1 Jun 2023 03:48:26 +0000 (20:48 -0700)
basis/toml/toml.factor

index d2f8f501406a69413e1dddcf17df13b6c70c67a4..024009fa02e78a0d88e4ffbc28ab96bd875bd77f 100644 (file)
@@ -6,8 +6,6 @@ peg peg.parsers regexp sequences splitting strings.parser ;
 
 ! https://github.com/toml-lang/toml/blob/main/toml.abnf
 
-! XXX: reload and it doesn't clear some compiled parser
-
 IN: toml
 
 ERROR: duplicate-key key ;
@@ -306,20 +304,6 @@ ALIAS: name-parser unquoted-key
     ws hide comment optional hide 2seq
     3choice newline list-of [ { } concat-as ] action ;
 
-
-! entry entry table entry entry table entry entry
-
-! tables are added to the root
-
-! accum is the root to start
-
-! tables add an accum
-! std-table key=H{}
-! array-table key={H{}}
-
-! then when we see a table, accum is changed
-
-
 : check-no-key ( key assoc -- key assoc )
     2dup at* nip [ over duplicate-key ] when ;