diff options
author | John Hodge <tpg@mutabah.net> | 2016-03-12 08:13:44 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-03-12 08:13:44 +0800 |
commit | a6f3e33a1656752c5eef2004cdbb5ca89cf89581 (patch) | |
tree | f203a1656926bbd17f9bb0b739f716848bcd3764 | |
parent | 990102479e927dd175b2e3ae7aa4c5c1a977d5d1 (diff) | |
parent | 66a353548d36a412d968e048a55763eea9c3b76b (diff) | |
download | mrust-a6f3e33a1656752c5eef2004cdbb5ca89cf89581.tar.gz |
Merge branch 'master' of https://github.com/thepowersgang/mrustc
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -7,13 +7,16 @@ The short-term goal is to compile pre-borrowchecked rust code into C, for passin Current Features
===
-- Successfully parses libcore
+- Successfully parses libcore and rustc's run-pass tests
+- (incomplte) Attribute and macro expansion
+ - Rewrite in progress, missing some syntax extensions
- Resolves all paths to absolute forms
- Outputs the processed AST as (almost) rust code
- Almost because it uses special path types to handle: external crates, 'str', and anonymous modules.
Short-Term Plans
===
+- Complete rewrite/audit of resolve section to reduce chance of bugs.
- Type resolution and checking (quite interlinked)
- Converting operator invocations to explicit calls
@@ -22,4 +25,5 @@ Medium-Term Goals - Flattening AST into an intermediate form with no module higherarchy or generics
- Converting flat AST into C
- Bonus points for making it readable C
+ - NOTE: Due to `#[cfg]` attributes being resolved already, the C code won't be portable.
|