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

write an initial frontend #4

Draft
wants to merge 10 commits into
base: primary
Choose a base branch
from
Draft

write an initial frontend #4

wants to merge 10 commits into from

Conversation

aatxe
Copy link
Owner

@aatxe aatxe commented Mar 6, 2024

This pull request introduces an initial version of a frontend for sanguinello, so that we can actually have some sense of the syntax and start to write out examples. The target syntax is something rather similar to Luau, but with backwards-incompatible changes that I wish I could make there.

For instance, anonymous functions will be written fn(x, y) x + y end since both the syntax is expression-oriented (rather than statement-oriented) and we've reserved the keyword fn in addition to function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant