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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Add action templates functionality #4345

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from

Commits on Jul 3, 2023

  1. WIP: Add action templates functionality

    This enables users to write cross-target grammars which make use of
    actions, by enabling users to provide action templates on the command
    line.
    
    By providing different action templates for each target language, users
    can provide a different implementation of the action logic for each
    target.
    
    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    b28a9f4 View commit details
    Browse the repository at this point in the history
  2. Improve variable naming in action templates test suite

    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    573908d View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. More consistent naming in action templates error messages

    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    616d764 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Integrate ST error reporting with ANTLR's grammar error reporting

    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Jul 5, 2023
    1 Configuration menu
    Copy the full SHA
    f89c520 View commit details
    Browse the repository at this point in the history
  2. Fix incorrect error message in action templates group error listener,…

    … another pass at consistent naming in error messages
    
    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    8a8a063 View commit details
    Browse the repository at this point in the history
  3. Add a test for action templates in a semantic predicate

    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    ef95015 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Lookup action templates from inputDirectory, grammar file directory a…

    …nd libDirectory in addition to absolute path
    
    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    84866cc View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Add documentation for the actionTemplates grammar option

    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    c7dc4c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Fix a bug in passing the path to the StringTemplate group file, add a…

    … unit test
    
    Signed-off-by: David Gregory <2992938+DavidGregory084@users.noreply.github.com>
    DavidGregory084 committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    0ae16da View commit details
    Browse the repository at this point in the history