Start supporting numbers and strings

This commit is contained in:
2023-02-25 16:45:54 +00:00
parent cbae1c4629
commit 636101f1fa
15 changed files with 379 additions and 37 deletions

7
src/comment.go Normal file
View File

@@ -0,0 +1,7 @@
package main
var commentCompile = makeRegex("( *)//.*")
func isComment(code UNPARSEcode) bool {
return commentCompile.MatchString(code.code)
}