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

Adds support for record extension #61

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Adds support for record extension #61

wants to merge 11 commits into from

Conversation

zaskar9
Copy link
Owner

@zaskar9 zaskar9 commented May 22, 2024

This pull request is currently in draft mode as the work on this feature is still on-going. The following subtasks have been completed so far.

  • changes to the Parser to support declaration of extended records
  • changes in the AST to represent extended records (base type, level)
  • changes to the type checker in Sema to support subtype polymorphism for records
  • changes to PrettyPrinter to show extended record information
  • update to .gitignore to ignore files generated by OBNC
  • changes to CodeGen to deal with extended records

The following functionality is still missing.

  • Type identifier tags need to be created and initialized for records that are passed as VAR parameters or as pointers.

- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records (base type, level)
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to PrettyPrinter to show extended record information
- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records (base type, level)
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to PrettyPrinter to show extended record information
- update to `.gitignore` to ignore files generated by OBNC
- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records (base type, level)
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to PrettyPrinter to show extended record information
- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records (base type, level)
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to PrettyPrinter to show extended record information
- update to `.gitignore` to ignore files generated by OBNC
- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records (base type, level)
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to PrettyPrinter to show extended record information
- update to `.gitignore` to ignore files generated by OBNC
- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records (base type, level)
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to PrettyPrinter to show extended record information
- update to `.gitignore` to ignore files generated by OBNC
- changes to the Parser to support declaration of extended records
- changes in the AST to represent extended records (base type, level)
- changes to the type checker in Sema to support subtype polymorphism for records
- changes to PrettyPrinter to show extended record information
- update to `.gitignore` to ignore files generated by OBNC
@zaskar9 zaskar9 self-assigned this May 22, 2024
@zaskar9 zaskar9 marked this pull request as draft May 22, 2024 08:00
@zaskar9 zaskar9 added this to the v1.0.0 milestone May 22, 2024
@tenko
Copy link
Collaborator

tenko commented May 22, 2024

Excellent. A lot of work went in here. Not to familiar with this parts of the code, so I am not able to comment much.
One comment is that createSystemAdrCall should probably be updated to skip any base type information.

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

Successfully merging this pull request may close these issues.

None yet

2 participants