3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-17 09:29:30 +01:00
pbot/applets/pbot-vm/host/lib/Languages
Pragmatic Software e5e0f26b90
applets/pbot-vm: minor fixes
* set `preserve_escapes` to 0 in guest/_c_base.pm so escapes are stripped in:

     <pragma-> ,show testcargs
     <candide> [global] testcargs: /code c11 printf("/say args: " ); while
               (*++argv) printf("[%s] " , *argv);
     <pragma-> ,testcargs foo\'bar baz\'qux
     <candide> args: [foo\'bar] [baz\'qux]

  to produce the desired output of:

     <candide> args: [foo'bar] [baz'qux]

* set `keep_spaces` to 1 in host/_default.pm since it turns out that in some
  languages unquoted spaces are significant, e.g. in `sh ${1%  *}` to strip
  text following two spaces. Without `keep_spaces` enabled, `sh ${1%  *}`
  becomes `sh ${1% *}` and strips all text following one space instead of two.
2024-10-30 15:43:38 -07:00
..
_c_base.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
_default.pm applets/pbot-vm: minor fixes 2024-10-30 15:43:38 -07:00
bash.pm pbot-vm: massive refactor 2024-04-10 01:21:18 -07:00
bc.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
bf.pm pbot-vm: add Tumbleweed orchestration script 2024-03-30 16:49:09 -07:00
c2x.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
c11.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
c89.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
c99.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
clang2x.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
clang11.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
clang89.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
clang99.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
clang.pm pbot-vm: fix clang2x 2022-03-19 21:50:43 -07:00
clangpp.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
clisp.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
cpp.pm pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
freebasic.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
go.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
haskell.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
java.pm pbot-vm: add Tumbleweed orchestration script 2024-03-30 16:49:09 -07:00
javascript.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
ksh.pm pbot-vm: massive refactor 2024-04-10 01:21:18 -07:00
lua.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
perl.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
php.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
python3.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
python.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
qbasic.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
ruby.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
scheme.pm pbot-vm: reduce noisy output in Scheme language 2024-04-07 17:19:38 -07:00
sh.pm pbot-vm: massive refactor 2024-04-10 01:21:18 -07:00
tcl.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
tendra.pm Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
zsh.pm pbot-vm: massive refactor 2024-04-10 01:21:18 -07:00