sloppy
is a script interpreter that allows multiple programming languages to work together.
It is based on toml format, where user defines a sequence of commands, and what variables
each command imports and exports. The name sloppy
simply means it is meant for one-time
scripts, not for serious work.
Here's an example:
```toml [[command]] backend = "lua" errexit = true imports = [] exports = ["values"] program = """ values = { name = "Tianyu", data = { "hello", "world", 123 } } print("Hello from Lua!") """
[[command]] backend = "python" errexit = true imports = ["values"] exports = [] program = """ print("Hello from Python!") print(values) """ ```
This project is currently at an early stage, use at your own risk. Feedbacks are appreciated.