Where are the tests?
Am Montag, 13. April 2020 schrieb Alexander Burger <a...@software-lab.de>: > Hi Alexander, > >> I have now compiled pil21 on OpenBSD-6.7-beta/arm64 (aka -current), mainly by >> copying the files over from amd64. > > Perfect. > > >> I have an additional question. Is the a pil21 language reference? Can I use >> the pil64 docs? Which functions are missing? > > There is no reference yet. Note also that pil21 is now only about half way > implemented. When done, it should be completely compatible with pil64, except > for a few differences. > > I maintain a file for these differences. As of today (will probably be extended > with time), it is: > > > Differences to Pil64 > ==================== > > + Lisp insted of PilAsm > + No PicoLisp required for bootstrapping > + '*Run' not limited to 1024 FDs / 500 children > + Shared libraries have ".so" extension > + 'journal' format: Default size '0' instead of '64' > + 'with' accepts 'var' instead of 'sym' > > - '====' is removed > - '(arg)' call is removed > - Second argument to 'name' (i.e. renaming) is removed > - Lambda-binding environment offset for 'eval' and 'run' only for '@' > - 'native' > — only functions with fixed number of arguments > — no 'T' result spec (skipped call) > - Coroutines > Main routine has a tag 'T' > > > So, as I said, pil21 is not usable now. If you want to know which user-level > functions are implemented so far, look at 'symTab' in "src/glob.l" (as opposed > to 'SymTab' in "src64/glob.l". > > And even of those functions some are not complete yet. I'm going through > "src/main.l", and traverse the 'load'ed files. This month I'm in "src/io.l". > > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >