Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Arturo language #2259

Merged
merged 67 commits into from Oct 26, 2022
Merged

Commits on Oct 24, 2022

  1. Configuration menu
    Copy the full SHA
    4402331 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d77534 View commit details
    Browse the repository at this point in the history
  3. merge simple rules

    RickBarretto committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    d8e8cde View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30888ed View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. add file header

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    a0ff99b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc625b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec79974 View commit details
    Browse the repository at this point in the history
  4. remove whitespace

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    31dc1cd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e81bbd5 View commit details
    Browse the repository at this point in the history
  6. no need to group it

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    805f1f6 View commit details
    Browse the repository at this point in the history
  7. add lazy quantifier

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    cfb9386 View commit details
    Browse the repository at this point in the history
  8. no need to group it

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    c7987f2 View commit details
    Browse the repository at this point in the history
  9. add lazy quantifier

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    e3fc6fb View commit details
    Browse the repository at this point in the history
  10. remove additional indentation

    - it've used as a kind of hierarchy
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    a5a0f89 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    485b840 View commit details
    Browse the repository at this point in the history
  12. remove additional state

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    ddb7923 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    cb6a6b7 View commit details
    Browse the repository at this point in the history
  14. fix interpolation rule

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    2c08d22 View commit details
    Browse the repository at this point in the history
  15. replace inefficient match

    - `.` matches char-by-char
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    7b683c4 View commit details
    Browse the repository at this point in the history
  16. move __all__ to top

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    d80b451 View commit details
    Browse the repository at this point in the history
  17. include strings on root

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    914ccb2 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    2a5b4d6 View commit details
    Browse the repository at this point in the history
  19. remove unnecessary state

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    8335e36 View commit details
    Browse the repository at this point in the history
  20. update goldens

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    bce43b9 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    aa87683 View commit details
    Browse the repository at this point in the history
  22. add missing commas

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    2ab3cf7 View commit details
    Browse the repository at this point in the history
  23. remove trivial states

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    fab7818 View commit details
    Browse the repository at this point in the history
  24. cleanup code

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    cea6951 View commit details
    Browse the repository at this point in the history
  25. change versionadded

    versionadded should be next Pygments version, not current Arturo version
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    67b45a9 View commit details
    Browse the repository at this point in the history
  26. move predicates to builtin_functions

    It removes additional states
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    749a7a3 View commit details
    Browse the repository at this point in the history
  27. rename builtin_functions,

    replace `_` with `-`
    style and formatting reasons
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    528a730 View commit details
    Browse the repository at this point in the history
  28. forget | when match String type

    Missing `|` was breaking string interpolation
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    1095047 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    8161842 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    3ded7d5 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    15f451d View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    f110042 View commit details
    Browse the repository at this point in the history
  33. fix words position

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    9443273 View commit details
    Browse the repository at this point in the history
  34. cleanup code

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    ccfe10f View commit details
    Browse the repository at this point in the history
  35. remove strings state

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    98be0ff View commit details
    Browse the repository at this point in the history
  36. remove comments state

    the code is readable enough not to need this
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    97f7878 View commit details
    Browse the repository at this point in the history
  37. cleanup code

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    304452d View commit details
    Browse the repository at this point in the history
  38. add a forget \w rule at the start of a number

    It avoids a `a2` be consider a integer, for instance
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    ac37bdf View commit details
    Browse the repository at this point in the history
  39. update goldens

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    11fea4c View commit details
    Browse the repository at this point in the history
  40. update mapfiles

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    f938e5b View commit details
    Browse the repository at this point in the history
  41. fix W119

    Instead of negating character class, flip case of builtin class
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    01d22d7 View commit details
    Browse the repository at this point in the history
  42. fix wrong operator

    It should be `>:` and not `:>` - the last doubles this operator.
    If some word is doubled. It won't pass on regex linter
    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    e96cbcc View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    57c31e7 View commit details
    Browse the repository at this point in the history
  44. update goldens

    RickBarretto committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    f4c48cd View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. Configuration menu
    Copy the full SHA
    e60c6c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52ef9c8 View commit details
    Browse the repository at this point in the history
  3. replace generic Text with better tokens

    We had some problems with the last approach:
    - `.` is a char-by-char match, so it's inefficient
    - `Text` is too generic
    
    Why this replace:
    - `Text` shouldn't match indentifiers, `Name`, should
    - `Text.Whitespace` give us some semantic for whitespace
    - `Error` help us to find some problems on lexer
    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    5ab2b42 View commit details
    Browse the repository at this point in the history
  4. add missing operators

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    50799a7 View commit details
    Browse the repository at this point in the history
  5. Add switch structure

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    4c94701 View commit details
    Browse the repository at this point in the history
  6. cleanup code

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    65dab55 View commit details
    Browse the repository at this point in the history
  7. add array index constant

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    621eff9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7ab88de View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    14c3c62 View commit details
    Browse the repository at this point in the history
  10. import Error token

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    c3b2b44 View commit details
    Browse the repository at this point in the history
  11. update decorators

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    5cbd13b View commit details
    Browse the repository at this point in the history
  12. update goldens

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    94d4d6d View commit details
    Browse the repository at this point in the history
  13. remove constants state

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    c972771 View commit details
    Browse the repository at this point in the history
  14. cleanup code

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    4619361 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ea97a4f View commit details
    Browse the repository at this point in the history
  16. update goldens

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    41d76a0 View commit details
    Browse the repository at this point in the history
  17. fix character overlap

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    8026942 View commit details
    Browse the repository at this point in the history
  18. fix digit overlap

    - note: `\w` includes digits (`[0-9]`) characters
    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    eea1c9f View commit details
    Browse the repository at this point in the history
  19. remove operators state

    RickBarretto committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    493e1d9 View commit details
    Browse the repository at this point in the history