Add propane and initial scene grammar

This commit is contained in:
josh committed 2023-11-17 19:22:18 -05:00
1 parent 6e04286cc2
commit 5ff83f6734
4 files changed
+78 -1

No files matched your search

+22
View File
@@ -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;