feat-loops
v1.1
Add test for loops inside function and "while object is not null"
to be continued
@@ -0,0 +5,4 @@
// 2. Change variable value:
someString = "hello, world!";
// Variables helps you store values to use it later
help
@@ -0,0 +13,4 @@
printline("Now we got 12:");
printline(c);
// Also, there is many different types to help your program
@@ -0,0 +1,30 @@
// When you need to check some value
// a conditional statements might help you
statemenT
@@ -0,0 +7,4 @@
printline("Yay! 2 + 2 = 4");
}
// Conditional statement uses condition in pairs
parenthesis, not pairs
@@ -0,0 +11,4 @@
ssize_t check_top;
fzl_nodetype_t check_tree[256];
void ghost_walk_changed(fzl_node_t *node, bool *changed, fzl_sym_t *sym)
Add comment
@@ -979,0 +1019,4 @@
{
fzl_token_t *tok = consume(parser);
fzl_token_t *lpar = consume(parser);
if (lpar->type != FZL_TOKTYPE_LPAREN)
Add lpar null-check
lpar
@@ -979,0 +1201,4 @@
// `break` keyword parsing
fzl_node_t *parse_break(fzl_parser_t *parser)
Add tok null-check
tok
@@ -203,0 +330,4 @@
for (size_t i = walker->sym_top - 1; i > newctx->initial_env_lvl; i--)
fzl_freesymt(walker->syms[--walker->sym_top]);
free(newctx->breaks);
move free to section under the backpatching cycle
free
@@ -0,0 +21,4 @@
else
age = 20;
printline("You looks too young!");
look
@@ -15,1 +16,4 @@
char last_err[256];
size_t last_jmp_ip = 0;
// NOTE: add `--max-iter` option for limit
implement "--max-iter" options (in arg parser)
build-release
parser
walker
writer
break
neg1
negr
No dependencies set.
The note is not visible to the blocked user.
Add test for loops inside function and "while object is not null"
to be continued
@@ -0,0 +5,4 @@// 2. Change variable value:someString = "hello, world!";// Variables helps you store values to use it laterhelp
@@ -0,0 +13,4 @@printline("Now we got 12:");printline(c);// Also, there is many different types to help your program@@ -0,0 +1,30 @@// When you need to check some value// a conditional statements might help youstatemenT
@@ -0,0 +7,4 @@printline("Yay! 2 + 2 = 4");}// Conditional statement uses condition in pairsparenthesis, not pairs
@@ -0,0 +11,4 @@ssize_t check_top;fzl_nodetype_t check_tree[256];void ghost_walk_changed(fzl_node_t *node, bool *changed, fzl_sym_t *sym)Add comment
@@ -979,0 +1019,4 @@{fzl_token_t *tok = consume(parser);fzl_token_t *lpar = consume(parser);if (lpar->type != FZL_TOKTYPE_LPAREN)Add
lparnull-check@@ -979,0 +1201,4 @@// `break` keyword parsingfzl_node_t *parse_break(fzl_parser_t *parser){fzl_token_t *tok = consume(parser);Add
toknull-check@@ -203,0 +330,4 @@for (size_t i = walker->sym_top - 1; i > newctx->initial_env_lvl; i--)fzl_freesymt(walker->syms[--walker->sym_top]);free(newctx->breaks);move
freeto section under the backpatching cycle@@ -0,0 +21,4 @@else{age = 20;printline("You looks too young!");look
@@ -15,1 +16,4 @@char last_err[256];size_t last_jmp_ip = 0;// NOTE: add `--max-iter` option for limitimplement "--max-iter" options (in arg parser)
build-releasemake target for building c/vm without sanitizer libs c8f3cd61f4parser,walkerandwriterare not NULL c7cce94119break7cfb8efef4neg1tests (for negative in runtime) tonegre3878047d7