aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2015-11-30 02:11:31 -0700
committerAndrew Kelley <superjoe30@gmail.com>2015-11-30 02:12:20 -0700
commit8f0f318c393b815d547ea00741d7b1ebf99eaffe (patch)
treef5a80e8fb327f4da94a40cb3ae179dbf2c3ddf9a /README.md
parentac0c5a3707c4a79c27e60242e44231cc05964f0f (diff)
downloadzig-8f0f318c393b815d547ea00741d7b1ebf99eaffe.tar.gz
zig-8f0f318c393b815d547ea00741d7b1ebf99eaffe.zip
add directive to specify root export version
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/README.md b/README.md
index b8dfbc4f92..1fa201e0c6 100644
--- a/README.md
+++ b/README.md
@@ -42,9 +42,6 @@ make
## Roadmap
- * ability to specify version
- * cli ability to override library export locations
- * add test for building library
* variables and parameters
* Export .so library
* Multiple files
@@ -81,11 +78,11 @@ zig | C equivalent | Description
### Grammar
```
-Root : RootExportDecl many(TopLevelDecl) token(EOF)
+Root : many(TopLevelDecl) token(EOF)
-RootExportDecl : token(Export) token(Symbol) token(String) token(Semicolon)
+TopLevelDecl : FnDef | ExternBlock | RootExportDecl
-TopLevelDecl : FnDef | ExternBlock
+RootExportDecl : many(Directive) token(Export) token(Symbol) token(String) token(Semicolon)
ExternBlock : many(Directive) token(Extern) token(LBrace) many(FnDecl) token(RBrace)