Skip to content

Symbol Tables... they're a thing  #2

@heyitsmass

Description

@heyitsmass

The project is again being redesigned to follow a stricter lexer-parser structure. A grammar will be better outlined to follow common EBNF grammar notation.

  • A lexer will gather symbols from the file, rejecting any invalid symbols.

  • A parser will parse the list of symbols, and given an expression grammar, determine validity.

  • During validation checks, the parser constructs any objects necessary for a python dictionary or array.

    • If a validation check fails (incorrect grammar), the parser will reject the input file.
  • An attempt at linting will be made to determine potentially invalid constructs post-parse, but JSON is an object notation language, not a programming language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions