|
|
@ -215,22 +215,22 @@ static enum fh_error wp_ij(struct fh_thread_s *fh, const struct fh_word_s *w) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const struct name_and_handler fh_builtins_control[] = { |
|
|
|
const struct name_and_handler fh_builtins_control[] = { |
|
|
|
{"i", wp_ij, 0, 0}, |
|
|
|
{"i", wp_ij, 0, 0}, |
|
|
|
{"j", wp_ij, 0, 1}, |
|
|
|
{"j", wp_ij, 0, 1}, |
|
|
|
{"if", w_if, 1, 0}, |
|
|
|
{"if", w_if, 1, 0}, |
|
|
|
{"else", w_else, 1, 0}, |
|
|
|
{"else", w_else, 1, 0}, |
|
|
|
{"then", w_then, 1, 0}, |
|
|
|
{"then", w_then, 1, 0}, |
|
|
|
{"recurse", w_recurse, 1, 0}, |
|
|
|
{"recurse", w_recurse, 1, 0}, |
|
|
|
{"do", wp_do, 1, 0}, |
|
|
|
{"do", wp_do, 1, 0}, |
|
|
|
{"?do", wp_do, 1, 1}, |
|
|
|
{"?do", wp_do, 1, 1}, |
|
|
|
{"loop", wp_loop, 1, 0}, |
|
|
|
{"loop", wp_loop, 1, 0}, |
|
|
|
{"leave", w_leave, 1, 0}, |
|
|
|
{"leave", w_leave, 1, 0}, |
|
|
|
{"loop+", wp_loop, 1, 1}, |
|
|
|
{"+loop", wp_loop, 1, 1}, |
|
|
|
{"begin", w_begin, 1, 0}, |
|
|
|
{"begin", w_begin, 1, 0}, |
|
|
|
{"while", w_while, 1, 0}, |
|
|
|
{"while", w_while, 1, 0}, |
|
|
|
{"repeat", w_repeat, 1, 0}, |
|
|
|
{"repeat", w_repeat, 1, 0}, |
|
|
|
{"again", w_again, 1, 0}, |
|
|
|
{"again", w_again, 1, 0}, |
|
|
|
{"until", w_until, 1, 0}, |
|
|
|
{"until", w_until, 1, 0}, |
|
|
|
|
|
|
|
|
|
|
|
{ /* end marker */ } |
|
|
|
{ /* end marker */ } |
|
|
|
}; |
|
|
|
}; |
|
|
|