From 7410d984ae270528ea4f3f16d3473acf807ef92c Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Thu, 16 Feb 2023 17:11:38 -0800 Subject: preprocessor works now, added some helper methods and a few more frees --- examples/boolean.pcdt | 2 +- examples/example.pcdt | 2 -- examples/helloworld.pcdt | 3 --- examples/helloworld1.pcdt | 1 + examples/helloworld2.pcdt | 2 ++ examples/includetest.pcdt | 2 +- 6 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 examples/example.pcdt delete mode 100644 examples/helloworld.pcdt create mode 100644 examples/helloworld1.pcdt create mode 100644 examples/helloworld2.pcdt (limited to 'examples') diff --git a/examples/boolean.pcdt b/examples/boolean.pcdt index e6becd6..c77f152 100644 --- a/examples/boolean.pcdt +++ b/examples/boolean.pcdt @@ -1,5 +1,5 @@ store(14; var1;) -store(12; var2;) +store(14; var2;) store( eq(var1() var2()) diff --git a/examples/example.pcdt b/examples/example.pcdt deleted file mode 100644 index 68d0a84..0000000 --- a/examples/example.pcdt +++ /dev/null @@ -1,2 +0,0 @@ -store(hello;myVar;) -print(myVar()) diff --git a/examples/helloworld.pcdt b/examples/helloworld.pcdt deleted file mode 100644 index 6ad1398..0000000 --- a/examples/helloworld.pcdt +++ /dev/null @@ -1,3 +0,0 @@ -store(print(hello world;) HelloWorldFunc;) -HelloWorldFunc() -HelloWorldFunc() diff --git a/examples/helloworld1.pcdt b/examples/helloworld1.pcdt new file mode 100644 index 0000000..a52e207 --- /dev/null +++ b/examples/helloworld1.pcdt @@ -0,0 +1 @@ +store(hello world; hlVar;) diff --git a/examples/helloworld2.pcdt b/examples/helloworld2.pcdt new file mode 100644 index 0000000..084ce45 --- /dev/null +++ b/examples/helloworld2.pcdt @@ -0,0 +1,2 @@ +@helloworld1.pcdt +store(print(hlVar()) HelloWorldFunc;) diff --git a/examples/includetest.pcdt b/examples/includetest.pcdt index 81aa285..a9a964b 100644 --- a/examples/includetest.pcdt +++ b/examples/includetest.pcdt @@ -1,2 +1,2 @@ -@helloworld.pcdt +@helloworld2.pcdt HelloWorldFunc() -- cgit v1.3.1