[go: up one dir, main page]

Menu

#3 Rewrite ZAPF lexer/parser without ANTLR

0.6
open
Assembler (4)
7
2014-06-01
2010-04-29
Tara McGrew
No

ANTLR lexes the entire file before parsing starts, which causes trouble when the source file contains directives to change the opcode set (like .NEW or a hypothetical directive to enable Inform mode), which is why ZAPF has to restart when the source file's version differs from the default. The syntax isn't very complicated, so it could make sense to abandon ANTLR in ZAPF.

Discussion

  • Tara McGrew

    Tara McGrew - 2012-03-09
    • priority: 3 --> 7
     
  • Tara McGrew

    Tara McGrew - 2014-06-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -ANTLR lexes the entire file before parsing starts, which causes trouble when the source file contains directives to change the opcode set \(like .NEW or a hypothetical directive to enable Inform mode\), which is why ZAPF has to restart when the source file's version differs from the default. The syntax isn't very complicated, so it could make sense to abandon ANTLR in ZAPF.
    +ANTLR lexes the entire file before parsing starts, which causes trouble when the source file contains directives to change the opcode set (like .NEW or a hypothetical directive to enable Inform mode), which is why ZAPF has to restart when the source file's version differs from the default. The syntax isn't very complicated, so it could make sense to abandon ANTLR in ZAPF.
    
    • assigned_to: Jesse McGrew
    • Group: --> 0.6
     

Log in to post a comment.