christoff-buerger / racr

Metacompiler library supporting incremental transformation based on reference attribute grammar controlled rewriting.
MIT License
30 stars 9 forks source link

refactoring of SiPLE example #42

Open christoff-buerger opened 8 years ago

christoff-buerger commented 8 years ago

The SiPLE example is not consistent with the other examples; best practices of RACR-based languages are not adapted yet, in particular the use of specialised child and attribute accessors like (->foo n) to query the foo child of n or (=bar n) to query the bar attribute of n. Refactoring to update it respectively is required.

christoff-buerger commented 8 years ago

The issue is related to issue #43.

christoff-buerger commented 8 years ago

For documentation reasons it may be better to change SiPLE to an Oberon compiler/interpreter. This could be done throughout the refactoring process and requires also the refactoring of the parser (cf. issue #43).

However, the priority of a change to Oberon and the refactoring is low.