cwal

All files named ”s2/s2sh.s2”
Login

All files named ”s2/s2sh.s2”

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for s2/s2sh.s2

2020-02-06
11:58
Consolidated the remaining s2sh/s2sh2 code except for their --help handling into shell_common.c. shell.c now uses cliapp.c for its input and REPL, just like shell2.c. file: 4b3e9c1f75 check-in: [6f4bb57574] user: stephan branch: trunk, size: 6948 )
2020-01-18
05:28
Corrected some docs regarding the new tokenizePath() feature and made ';' the only legal path delimiter on Windows builds, to avoid confusion with drive-letter-prefixed names. If s2 ever actually gets built on Windows, we can look at improving the tokenizer to recognize such constructs. file: 990a52cf10 check-in: [bea1766a08] user: stephan branch: trunk, size: 6810 )
2019-12-16
04:49
added some docs file: 3295d12323 check-in: [786339cfff] user: stephan branch: trunk, size: 6850 )
2019-12-06
12:28
Minor doc update. file: 10d74dde3a check-in: [483285dde9] user: stephan branch: trunk, size: 6185 )
2018-11-25
08:24
Improved loadModule2() and import2() to be configurable via CLI flags. file: 794638eefe check-in: [e5d894efb2] user: stephan branch: trunk, size: 5999 )
2018-01-03
17:44
And this time tested before committing. file: d6e65425fe check-in: [6ad689be00] user: stephan branch: trunk, size: 5729 )
16:04
consistency: changed signature of cwal_prop_has() and cwal_prop_has_v(), removed cwal_prop_has_s(). file: 30ff9b386e check-in: [db1a5c3526] user: stephan branch: trunk, size: 5736 )
2018-01-02
04:28
generic tinkering. file: 64e198e6eb check-in: [bbba146715] user: stephan branch: trunk, size: 5809 )
2018-01-01
22:05
Minor tweaks and hacks. Accidentally discovered a new category of parse errors involving certain keywords within a ternary expression, and partially "resolved" them. file: a9c3ed93b5 check-in: [972ed85e26] user: stephan branch: trunk, size: 5758 )
16:02
Far too much tweaking in the s2 loadable module bits. file: 5554e84596 check-in: [d9164fb176] user: stephan branch: trunk, size: 5982 )
2017-12-01
13:25
Deprecated S2_INCLUDES_PATH/EXTENSIONS in favor of S2_IMPORT_PATH/EXTENSIONS. file: ea88388f79 check-in: [bf46bd9a98] user: stephan branch: trunk, size: 5989 )
2017-11-08
08:37
Moved filesystem-related APIs from s2.io to s2.fs. file: 4118cfcb65 check-in: [474633d583] user: stephan branch: trunk, size: 5939 )
2017-11-02
19:40
Added s2.io.getcwd() (getcwd(2) wrapper) and some beginnings of infrastructure for an eventual wrapper for stat(2)/lstat(2). file: 7a98a892fb check-in: [c653066de5] user: stephan branch: trunk, size: 5924 )
2017-03-23
16:15
Fixed a broken assertion, a parse error for prefix --/++, added Function.bind(), and minor tokenization reductions. file: e40ce5d7cc check-in: [09b7fbcab5] user: stephan branch: trunk, size: 6016 )
2016-08-19
15:41
s/importSymbols/using/g file: 0d58b5d8dc check-in: [fea682ab70] user: stephan branch: trunk, size: 5995 )
2016-02-21
01:48
accommodated recent addition of "import" as a reserved word. file: 1d1144b6b0 check-in: [9d616fd147] user: stephan branch: trunk, size: 5927 )
2016-01-24
17:01
s2 new X() now pushes an entry to the call stack, else the errors are hard to follow when the ctor throws. Fixed a corner case in s2_throw_value() which caused the error location props to be set on the wrong container when inheriting from the Exception type. Other minor tinkering. file: 6e52fb5ae5 check-in: [09a407c621] user: stephan branch: trunk, size: 5925 )
04:12
s2.vtree() can now traverse prototypes, optionally recursively. file: 77299a6cdc check-in: [820b76130a] user: stephan branch: trunk, size: 6082 )
01:57
improved s2.vtree() array support. file: 1227f5e1cb check-in: [25bfd4e6d6] user: stephan branch: trunk, size: 5393 )
01:27
improved s2.vtree() a bit (now handles array values as arrays, not objects). file: 3cdcc5b5af check-in: [a3f8723f0c] user: stephan branch: trunk, size: 4478 )
2016-01-22
09:26
minor s2.vtree() tweaks. file: 3eb7e13928 check-in: [47713f0129] user: stephan branch: trunk, size: 4361 )
01:42
added s2.vtree() file: 25c013722c check-in: [d62debbae3] user: stephan branch: trunk, size: 4303 )
2014-12-19
10:36
swapped offset/flags arg order in mod_porex.exec(). And accidentally committed a bunch of stuff i wanted to trash. Dammit. file: 771be85703 check-in: [e15cd4ba72] user: stephan branch: trunk, size: 2929 )
2014-12-18
18:11
rephrased a call for efficiency. file: 45c694fe15 check-in: [88222eb21d] user: stephan branch: trunk, size: 2891 )
18:08
replace typename usage with typeinfo(name). file: 15531059b5 check-in: [fc6737556b] user: stephan branch: trunk, size: 2905 )
2014-12-07
09:35
s2sh.s2: added s2.vls() utility func. file: daa8942efb check-in: [630cac7cb6] user: stephan branch: trunk, size: 2906 )
2014-11-24
16:33
s2sh.s2: minor error handling cleanups. file: 7a2460eeb5 check-in: [291acf74f6] user: stephan branch: trunk, size: 2710 )
2014-11-13
15:35
experimenting with "this" in s2.import() (part 2). file: 07e4d7c9cb check-in: [65acbbcc7d] user: stephan branch: trunk, size: 2577 )
2014-11-11
11:06
Fixed an endless loop in String.split() when passed an empty separator string. file: 3bc8de4323 check-in: [85ce11fc20] user: stephan branch: trunk, size: 2555 )
2014-08-13
10:44
s2.loadModule2() and s2.import2() now use s2.io.realpath(), if available to resolve names. file: 093e0c2c44 check-in: [3990f4378c] user: stephan branch: trunk, size: 2553 )
2014-07-22
13:17
removed some debug output. file: c5088a52ef check-in: [c4f4188160] user: stephan branch: trunk, size: 2297 )
2014-07-17
11:47
s2: script fixes, minor error message improvements, removed an old EOL-related bit in var decls. file: 41a92630a5 check-in: [f9e9c2d0b2] user: stephan branch: trunk, size: 2295 )
10:29
typo fix, minor script cleanups. file: 2dfa6a6425 check-in: [f06ff2e23e] user: stephan branch: trunk, size: 2223 )
2014-07-11
20:03
s2: mostly build-related stuff, getting s2sh client-extensible. file: 7a21a26b69 check-in: [cc53da0c53] user: stephan branch: trunk, size: 2241 )
2014-07-08
19:20
s2: optimized function default params to run in skip mode if the argv array has filled that slot. Other minor internal cleanups. file: 7d50cad8af check-in: [2178434f3e] user: stephan branch: trunk, size: 1251 )
18:09
finished interrupted docs. file: 885d979084 check-in: [0e7b7f09b0] user: stephan branch: trunk, size: 1243 )
18:07
Added: s2: added init script autoloading to the shell, but that reveals a shortcoming with the error-vs-exception dichotomy, in that we lose the script name (but keep line/column) when we trigger non-exception errors which are not handled until after the evaluator has returned. Hmmm. i really do not want to allocate that string :/. file: 25e2ddb842 check-in: [b2c2222019] user: stephan branch: trunk, size: 960 )