p2
p2 copied to clipboard
p2 (perl 5+6 = 11) on the potion vm
This is generating lots of test fails, IDK why. "test/classes/sub.pn: expected , but got " is a known failure before this patch, but "expected , but got " stuff is...
the current debug eval readline loop (IN_C and in .pn) doesn't allow access to registers, locals, upvals and values (paths) as :r,:l,:v,:u. remote debuggers need the functionality as spec'd in...
eval this syntax ``` load 'readline'; while (1) { $code = ; break if $code eq "q"; if ($code != '') { $obj = eval $code; if (kind $obj eq...
bin/potion -I -X test/flow/callcc.pn overwrites the stack with certain compilers, -O settings and with certain (unknown) environmental conditions (hard to repro). Now checked by ``` if (exec >= MAX_EXEC) potion_fatal("fatal:...
-B and -X ``` $ ./potion -V -B test/flow/except.pn 2>&1 |less [21] loadpn 0 3 ; 1 [22] move 1 0 ; 1 [23] loadk 0 3 ; to [24]...
potion blocks are closures with scoped mixins. so it's easy to override all methods in a scope, by switching to a new parser, eventually changed compiler rules and translate to...
show how you print a type, data, a stack trace in gdb document compiler transformations ast -> vm, several of them are non-intuitive `(table (expr))` how globals are read how...