Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Implement parser for mapping key lookup (e.g. m[0][1]) #3943

Draft
wants to merge 16 commits into
base: wrap
Choose a base branch
from

Commits on Apr 29, 2021

  1. Add initial parser

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    b77f763 View commit details
    Browse the repository at this point in the history
  2. Handle _ and $

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    3b7e98c View commit details
    Browse the repository at this point in the history
  3. Use more explicit names than Access and Lookup

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    003641d View commit details
    Browse the repository at this point in the history
  4. Expand support for different kinds of literals

    - Ensure Literal interface includes `type` field as discriminator
    - Add some generics infrasturcture for building AST constructors
    - Add support for boolean literals
    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    8a6588f View commit details
    Browse the repository at this point in the history
  5. Handle Solidity escape sequences

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    0de4885 View commit details
    Browse the repository at this point in the history
  6. Add support for hex literals

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    9bd698b View commit details
    Browse the repository at this point in the history
  7. [squashme] Simplify LiteralGenerics a bit

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    a11b8f1 View commit details
    Browse the repository at this point in the history
  8. [squashme] Separate it() blocks for erroroneous expressions

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    01198c9 View commit details
    Browse the repository at this point in the history
  9. Add support for enum literals

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    ffee516 View commit details
    Browse the repository at this point in the history
  10. Upgrade prettier to ^2.2.1

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    a2db4bd View commit details
    Browse the repository at this point in the history
  11. Add eslintrc for package

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    90e7d63 View commit details
    Browse the repository at this point in the history
  12. Reduce complexity of literals

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    c743bc6 View commit details
    Browse the repository at this point in the history
  13. Simultaneously define parsers and AST

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    e47bc35 View commit details
    Browse the repository at this point in the history
  14. Remove Literal prefix

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    a7f6ce7 View commit details
    Browse the repository at this point in the history
  15. Improve reporting for parse errors

    - Define custom type names for each form kind in the AST
    - Update tests to look for one-of `{ trace, value }`
    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    b25bbd7 View commit details
    Browse the repository at this point in the history
  16. Prevent empty index access ([])

    g. nicholas d'andrea committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    f8966ac View commit details
    Browse the repository at this point in the history