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

[Pascal] Add some context-awareness #2751

Open
wants to merge 45 commits into
base: master
Choose a base branch
from

Conversation

michaelblyons
Copy link
Collaborator

@michaelblyons michaelblyons commented Mar 13, 2021

This is not a full and complete rewrite of the Pascal syntax. It is merely intended to bring some context stacks to functions, with constants and variables along for the trip.

  • Numbers: additional number bases. Not sure if the exponent scopes are standard, but I borrowed them from somewhere.
  • Strings: add the new scopes. Add escapes for single quoted strings. Leave double quoted as-is since it has a comment about being an extension.
  • Functions: attempt to scope function sections correctly.
  • Constants: assorted newer scopes

@jrappen

This comment was marked as resolved.

@michaelblyons michaelblyons marked this pull request as ready for review February 25, 2025 17:22
@jrappen

This comment was marked as resolved.

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.

2 participants