From 54b4040a8e46c4104e228264fa57b44d17e245c9 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 6 Feb 2025 13:59:50 +0100 Subject: all current tests passing --- src/standard.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/standard.php (limited to 'src/standard.php') diff --git a/src/standard.php b/src/standard.php new file mode 100644 index 0000000..351c9e8 --- /dev/null +++ b/src/standard.php @@ -0,0 +1,18 @@ +lex(); + $parser = new Parser($tokens); + $nodes = $parser->parse(); +}; + +$print = function (string $string) { + echo $string; +}; + +return compact("import", "print"); -- cgit v1.2.3