First commit

This commit is contained in:
Ella Dunbar 2025-10-18 16:58:19 -05:00
commit 9392139a9c
47 changed files with 9107 additions and 0 deletions

37
test/corpus/directive.txt Normal file
View file

@ -0,0 +1,37 @@
======
Define
======
DEFINE test 100
---
(translation_unit
(define
(match)
(match)))
===================
Define with decimal
===================
DEFINE DRAWDELAY 0.5
---
(translation_unit
(define
(match)
(match)))
=======
Include
=======
INCLUDE g4Y
---
(translation_unit
(include
(identifier)))

33
test/corpus/function.txt Normal file
View file

@ -0,0 +1,33 @@
===============
Single function
===============
PANLIGHT(LIGHT1,1500,1200,SCROLLTIME)
---
(translation_unit
(function
(identifier)
(identifier)
(number)
(number)
(identifier)))
=====================
Multiple with comment
=====================
Invoke(GSA,1) # Draw arenas
wait(SHOWTIME) # Delay for (auto) display of asset
---
(translation_unit
(function
(identifier)
(identifier)
(number))
(comment)
(function
(identifier)
(identifier))
(comment))