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

Added ir.EGetItems with expected Nt #112

Merged
merged 2 commits into from
Nov 27, 2022
Merged

Added ir.EGetItems with expected Nt #112

merged 2 commits into from
Nov 27, 2022

Conversation

jhnaldo
Copy link
Contributor

@jhnaldo jhnaldo commented Nov 27, 2022

The following metalanguage

the List of |CaseClause| items in |CaseClauses|, in source text order

would be compiled into the following IRES:

(get-items (nt |CaseClause|[]) this[0])

It extracts the CaseClause AST from this[0] and throws an error when this[0] contains other kinds of ASTs.

@jhnaldo jhnaldo merged commit 7e8eba3 into dev Nov 27, 2022
@jhnaldo jhnaldo deleted the dev-get-items branch November 27, 2022 06:01
@jhnaldo jhnaldo added new feature Implements a new feature area:lang Related to metalanguage area:ir Related to intermediate representation (IR) labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ir Related to intermediate representation (IR) area:lang Related to metalanguage new feature Implements a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant