4 ms·
Actually, TempleOS has a really neat command-line / shell. The command line feeds directly into the C compiler. The C compiler can JIT, and the "HolyC"[1] lang
by xyzzy123 13y ago
Actually, TempleOS has a really neat command-line / shell.
The command line feeds directly into the C compiler. The C compiler can JIT, and the "HolyC"[1] language has modifications which make it much nicer for command-line use.
The author added default args to C, and parentheses are optional on functions with no arguments (or all default) so:
Dir; is shorthand for Dir("*.*", FALSE);
Even cooler, it's possible to go in and edit the Dir command on the fly; since it's JITed, your changes will be there the next time you run it.
[1] OK, the name is quirky but most of the changes from C have sound reasons.
- adestefan 13y agoThe VxWorks shell is similar, but not as advanced. It's basically a stripped down C interpreter and you call functions directly instead of commands.