Add propane and initial scene grammar
This commit is contained in:
1 parent
6e04286cc2
commit
5ff83f6734
4 files changed
+78
-1
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<<
|
||||
import std.conv;
|
||||
>>
|
||||
|
||||
token background;
|
||||
token comma /,/;
|
||||
token number /\d+(\.\d+)?/;
|
||||
token lt /</;
|
||||
token gt />/;
|
||||
token semicolon /;/;
|
||||
|
||||
Start -> Statements;
|
||||
|
||||
Statements -> ;
|
||||
|
||||
Statements -> Statement Statements;
|
||||
|
||||
Statement -> BackgroundStatement;
|
||||
|
||||
BackgroundStatement -> background Vec3 semicolon;
|
||||
|
||||
Vec3 -> lt number comma number comma number gt;
|
||||
Reference in new issue
Block a user