Disable still-WIP Kondey compiler for checkpoint release of 0.2.
Chris Pressey
1 year, 1 month ago
| 52 | 52 |
|
| 53 | 53 |
#### 0.2
|
| 54 | 54 |
|
| 55 | |
* Added Kondey backend for compiler (incomplete).
|
|
55 |
* Added beginnings of a Kondey backend for compiler (still WIP).
|
| 56 | 56 |
* Fixed `gentape` subcommand. It now takes a comma-separated list of symbols
|
| 57 | 57 |
to write to the tape, and honours (and requires) the `--backend` option.
|
| 58 | 58 |
* Added `--normalize` flag, which works with all subcommands.
|
| 11 | 11 |
import Language.Turmac.Normalizer (normalizeRules)
|
| 12 | 12 |
|
| 13 | 13 |
--
|
| 14 | |
-- Under development!
|
|
14 |
-- Under construction!
|
| 15 | 15 |
--
|
| 16 | 16 |
|
| 17 | 17 |
----------------------
|
| 18 | 18 |
import Language.Turmac.Backend.IRDump
|
| 19 | 19 |
import Language.Turmac.Backend.Turmac
|
| 20 | 20 |
import Language.Turmac.Backend.Python
|
| 21 | |
import Language.Turmac.Backend.Kondey
|
|
21 |
-- FIXME import Language.Turmac.Backend.Kondey
|
| 22 | 22 |
|
| 23 | 23 |
--
|
| 24 | 24 |
-- Command-line flags
|
|
| 78 | 78 |
compileTo "ir-dump" = compileToIRDump
|
| 79 | 79 |
compileTo "turmac" = compileToTurmac
|
| 80 | 80 |
compileTo "python" = compileToPython
|
| 81 | |
compileTo "kondey" = compileToKondey
|
|
81 |
-- FIXME compileTo "kondey" = compileToKondey
|
| 82 | 82 |
compileTo _ = error "--backend must be given when compiling, and must be one of: 'ir-dump', 'turmac', or 'python'"
|
| 83 | 83 |
|
| 84 | 84 |
--
|