chsrc/tool/rawstr4c/doc/01-Develop.md
2025-07-21 02:06:58 +08:00

1.2 KiB

Develop rawstr4c

Dependencies and Dev environment

Please install these first:

  1. rakudo
  2. just

Get code

Please make sure to use the dev branch for development

git clone https://gitee.com/RubyMetric/chsrc.git -b dev

Run

just rawstr4c
zef install .

rawstr4c

zef uninstall rawstr4c

Debug

just rawstr4c --debug
# Note: there must be an = between option value and option
just rawstr4c --debug=parser
just rawstr4c --debug=generator

Test

Run test scripts

cd test

raku ./xx-file.rakutest

Test executable file

just rawstr4c