Currently we only test the --show-c with the ./run_tests.py testsuite, which checks the generated C output. We also have to add integration tests that will test:
We probably can extend our current test framework, to test llvm and/or C with the same test files. We have to add the ability to specify other C files to compile and link.
I think the frontend should be improved to be able to use syntax like:
lpython --backend=c -c some_file.py -o some_file.c
Then we compile everything with gcc or clang.
Currently we only test the
--show-cwith the./run_tests.pytestsuite, which checks the generated C output. We also have to add integration tests that will test:We probably can extend our current test framework, to test llvm and/or C with the same test files. We have to add the ability to specify other C files to compile and link.
I think the frontend should be improved to be able to use syntax like:
Then we compile everything with gcc or clang.