Assembled from klammertext-dev ed13dfaa5b7a. kpy/klammertext.cpp is a CPython extension module giving a Python script an instance of the Machine class -- ktext in-process, set up through the same functions the command uses. Errors map one-to-one to Python exceptions under the C++ names; an @eval's Python exception is chained as __cause__. Built by make -C mac, found through PYTHONPATH (env/runtime.env sets it), tested by tst/kpy_test.sh. Three engine changes came with it: Error::message(), set_command_state(), and the @eval error report carrying its traceback. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uv7KWxafinDPraswEf4GsC
36 lines
868 B
Makefile
36 lines
868 B
Makefile
# Klammertext distribution test suite (subset).
|
|
#
|
|
# Runs the shell regression suites shipped with this snapshot (the list is
|
|
# generated from the distribution manifest, so it cannot drift from the files
|
|
# actually shipped). Each suite's own header comment says what it covers.
|
|
#
|
|
# Requires KLAMMERTEXT_HOME set and `ktext` on PATH (build it with `make -C com`).
|
|
|
|
.PHONY: test
|
|
test:
|
|
./cond_test.sh
|
|
./eval_test.sh
|
|
./recursion_test.sh
|
|
./check_test.sh
|
|
./deftype_test.sh
|
|
./escape_test.sh
|
|
./transform_test.sh
|
|
./character_test.sh
|
|
./katomize_test.sh
|
|
./filename_test.sh
|
|
./alone_test.sh
|
|
./state_test.sh
|
|
./target_test.sh
|
|
./modulepath_test.sh
|
|
./klammerset_test.sh
|
|
./option_set_test.sh
|
|
./signature_test.sh
|
|
./target_list_test.sh
|
|
./coverage_test.sh
|
|
./command_option_test.sh
|
|
./verbosity_test.sh
|
|
./kdesc_test.sh
|
|
./kdiag_test.sh
|
|
./editor_test.sh
|
|
./kpy_test.sh
|