Compiler/syntax analyzer: Difference between revisions
Content added Content deleted
m (J: eliminate a redundancy and throw in a few comments) |
m (→{{header|J}}) |
||
Line 3,493: | Line 3,493: | ||
(4) Because the data structure produced by the lexer is independent of any type system implementation, we can use the same type system for the lexer or a different type system for the lexer and either way works (as long as the implementations are consistent with the spec). |
(4) Because the data structure produced by the lexer is independent of any type system implementation, we can use the same type system for the lexer or a different type system for the lexer and either way works (as long as the implementations are consistent with the spec). |
||
(5) In this context parallel constant arrays represent token and node types. |
|||
Task example: |
Task example: |