Przeglądaj źródła

Add some example code

Matt Coles 9 lat temu
rodzic
commit
a1ab34b0e4
2 zmienionych plików z 4 dodań i 1 usunięć
  1. 1 1
      .gitignore
  2. 3 0
      example.mc

+ 1 - 1
.gitignore

@@ -1,2 +1,2 @@
1
-*.mc
1
+myFirstProgram.mc
2 2
 output.js

+ 3 - 0
example.mc

@@ -0,0 +1,3 @@
1
+(assign twelve 12)
2
+(assign myvar (add twelve (subtract 6 2)))
3
+(log myvar)