standardized the system of stack effect comments and updated/corrected the existing comments in stdlib and added some that were lacking

This commit is contained in:
IgorCielniak
2026-02-05 21:36:03 +01:00
parent 2d06358e24
commit 5fb36ac9bc
11 changed files with 128 additions and 110 deletions

3
fn.sl
View File

@@ -1,4 +1,5 @@
word call-syntax-rewrite # ( fnameToken -- handled )
#call-syntax-rewrite [* | fnameToken] -> [* | handled]
word call-syntax-rewrite
dup token-lexeme identifier? 0 == if drop 0 exit end
peek-token dup nil? if drop drop 0 exit end
dup token-lexeme "(" string= 0 == if drop drop 0 exit end