Skip to content

Commit

Permalink
hostilefork.json => now runs relative to cwd
Browse files Browse the repository at this point in the history
As a new rule for Ren-C as a whole, scripts don't change the working
directory when invoked from the command line.  Instead, the feature
of finding resources relative to the script location is done by using
TAG! values as the argument to DO, LOAD, IMPORT:

metaeducation/rebol-issues#2374 (comment)

So long as the note needs changing, this goes ahead and mentions
that the whitespace interpreter is being used as a testbed for the
UPARSE parser that is written entirely in interpreted usermode
code, and is thus glacially slow compared to native code.  The
native code rewrite is being held off until a working stream
parsing design has been achieved.
  • Loading branch information
hostilefork authored Sep 3, 2021
1 parent 872edd7 commit bfe67fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebol/hostilefork.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{ "long": "strict", "desc": "Only allow `.ws`, `.wsa`, and `.wsw` formats" }
],
"option_parse": "manual",
"notes": "File path is relative to whitespace.reb, not PWD"
"notes": "Implementation is using a pure usermode PARSE dialect prototype, slowness is to be expected."
},
{
"type": "interpreter",
Expand Down

0 comments on commit bfe67fa

Please sign in to comment.