Opened 14 years ago

Closed 13 years ago

Last modified 12 years ago

#1336 closed task (fixed)

Implement a preprocessing phase from SCode to SCode that simplifies instantiation

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: low Milestone: 1.9.0
Component: Frontend Version:
Keywords: Cc: Adrian Pop

Description

Implement an preprocessing phase that removes:

  • extends (copies the components from base class and applies the modifications)
  • imports (transforms all type names to fully qualified ones)
  • redeclare (applies the redeclares by replacing the redeclared parts)
  • fully qualifies the class names (SCode.name becomes SCode.path).


This will benefit us several ways:

  • instantiation will be easier and more robust.
  • lookup will be less complex
  • error messages will be better
  • API functionality will not require partial instantiation

Change History (2)

comment:1 by Per Östlund, 13 years ago

Cc: adrpo, adrpo → adrpo
Resolution: fixed
Status: newclosed

This has mostly been implemented, and the parts not yet implemented are instead part of the plans for the new instantiation.

comment:2 by Martin Sjölund, 12 years ago

Milestone: White December1.9.0
Note: See TracTickets for help on using tickets.