add comments

This commit is contained in:
Tan, Kian-ting 2023-09-05 23:58:03 +08:00
parent a722e73957
commit c236ca23a5
2 changed files with 2 additions and 0 deletions

View file

@ -220,6 +220,7 @@ function tokenize(input) {
}; };
console.log(input + ", result: "); console.log(input + ", result: ");
console.log(thenDo(input_matchee_pair, integer)); console.log(thenDo(input_matchee_pair, integer));
// TODO: id, string, space, basic operator, 3 marks: @, {, }.
} }
exports.tokenize = tokenize; exports.tokenize = tokenize;
tokenize("+123"); tokenize("+123");

View file

@ -242,6 +242,7 @@ export function tokenize(input : string){
} }
console.log(input+", result: "); console.log(input+", result: ");
console.log(thenDo(input_matchee_pair, integer)); console.log(thenDo(input_matchee_pair, integer));
// TODO: id, string, space, basic operator, 3 marks: @, {, }.
} }