]> git.kianting.info Git - uann/commitdiff
add comments
authorTan Kian-ting <chenjt30@gmail.com>
Tue, 5 Sep 2023 15:58:03 +0000 (23:58 +0800)
committerTan Kian-ting <chenjt30@gmail.com>
Tue, 5 Sep 2023 15:58:03 +0000 (23:58 +0800)
src/index.js
src/index.ts

index a1ef267b5eb062cd6765a25f3be82e86485efecd..23320ac6471bd64cf15a6771802a5234bf85f354 100644 (file)
@@ -220,6 +220,7 @@ function tokenize(input) {
     };
     console.log(input + ", result: ");
     console.log(thenDo(input_matchee_pair, integer));
+    // TODO: id, string, space, basic operator, 3 marks: @, {, }.
 }
 exports.tokenize = tokenize;
 tokenize("+123");
index bcd3e10cc153cc9ee1495f29aaecce30401465ee..e22fdbbdd6550fe81c5779546472dd388927d95a 100644 (file)
@@ -242,6 +242,7 @@ export function tokenize(input : string){
     }
     console.log(input+", result: ");
     console.log(thenDo(input_matchee_pair, integer));
+    // TODO: id, string, space, basic operator, 3 marks: @, {, }.
 
 }