CSU-CS-Melange / alpha-language

Forked from Inria gitlab
MIT License
0 stars 0 forks source link

Try Adding a Program Transformation Engine to AlphaZ #84

Open ryanjob42 opened 3 months ago

ryanjob42 commented 3 months ago

There are a handful of transformations (e.g., Normalize) which could be implemented via a rule-based transformation engine. This would help reduce the number of implementation errors, null reference exceptions, etc.

Eclipse Henshin (see link below) is a project which is/was supposed to support this (although it hasn't been maintained in a while).

https://wiki.eclipse.org/Henshin

To verify if this works, we'd need to:

  1. Use it to successfully implement some rewrite rules (e.g., replace Normalize)
  2. Create documentation on how to use it