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

Implement Type is Type #782

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Implement Type is Type #782

wants to merge 10 commits into from

Commits on Oct 16, 2023

  1. Disambiguate identifier is

    Relevant lines pasted from the grammar:
    ```c
        //G is-as-expression:
        //G     prefix-expression
        //G     is-as-expression is-value-constraint
        //GTODO     type-id is-type-constraint
    ```
    A *prefix-expression* can be an *unqualified-id*, which can also be a
    *type-id*. So when the latter is implemented, it would break any code
    using `identifier is` to test an expression.
    
    I understand the usual way of disambiguating is to require parens, so I
    have done that here to fix 5 `regression_tests`.
    ntrel committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    aee9bf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87a0276 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Cpp1 is<X, C>

    filipsajdak authored and ntrel committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    486f8d7 View commit details
    Browse the repository at this point in the history
  2. Parse type; lowering

    ntrel committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    a775771 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    844196e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00f333a View commit details
    Browse the repository at this point in the history
  5. Refactor position, visit

    ntrel committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    d888fcd View commit details
    Browse the repository at this point in the history
  6. Diagnose type 'is' expression

    ntrel committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    7ec8257 View commit details
    Browse the repository at this point in the history
  7. Regenerate Cpp1 tests

    ntrel committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    297ed21 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Remove TODO

    Co-authored-by: Johel Ernesto Guerrero Peña <[email protected]>
    Signed-off-by: Nick Treleaven <[email protected]>
    ntrel and JohelEGP authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c5cc11f View commit details
    Browse the repository at this point in the history