diff options
| author | Alasdair Armstrong | 2017-11-27 17:30:03 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2017-11-27 17:30:03 +0000 |
| commit | 4de5d52ee0f525d7c472e8aa3ee2a8158d888148 (patch) | |
| tree | ec200546002b15167715057e0d5530f0643d559b /src/parser2.mly | |
| parent | 4a7d6e6d7e9221a19bc50c627b5714e45b1748bc (diff) | |
Split rewriter into separate rewriting library and rewrite passes
As discussed previously, we wanted to start refactoring the re-writer
to make it a bit less monolithic, and in the future potentially break
it into separate files for backend-specific rewrites and stuff.
- rewriter.ml now contains the generic re-writing code
- rewrites.ml contains the rewriting passes themselves
It would be nice if the generic rewriting code didn't depend on the
typechecker, because then it could be used in ASL parser on untyped
code.
Diffstat (limited to 'src/parser2.mly')
0 files changed, 0 insertions, 0 deletions
