Python3-based experimental language prototype.
Clone
git clone https://github.com/ogcae/scax.git
Install
cd scax
pip install -e .
Run
scax --help
scax info
Create and run
scax new MyApp
scax run examples\gui.sx
import gui_ext
let name = 'World'
let controls = [{'type':'label','text':'Click Greet'},{'type':'button','text':'Greet','on_click': lambda: gui_ext.dialog_info('Hello', "Hello {name}")}]
call gui_ext.window(title='GUI Demo', width=500, height=300, controls=controls)
Module | Description |
---|---|
gui |
Tkinter window helpers |
gui_ext |
Extended widgets, events, menus, dialogs (Tkinter) |
api |
HTTP router (GET/POST/PUT/DELETE, dynamic params, middleware) |
db |
JSON storage, Mongo (env), SQLite helpers |
ai |
GPT/DeepSeek/OpenRouter via .scaxrc or config.aisx |
Command | Description |
---|---|
scax new <name> |
Scaffold project (scax.json , .scaxrc ) |
scax run <file.sx> |
Run a Scax file |
scax gui <file.sx> |
Run a GUI Scax file |
scax test <file.sx> |
Syntax check |
scax build <path> [--update-changelog] |
Build to dist/ |
scax package <path> [--entry] |
Package via PyInstaller |
scax info |
Show environment info |
scax docs |
Open docs index |
scax clean [path] |
Remove build/cache folders |
pip install -e .
scax build . --update-changelog
Tip
Optional dependencies: PyInstaller (package
), PyQt5 (gui_qt
), pymongo (Mongo helpers).
gui.sx
- db.sx
- api.sx
- ai.sx
quickstart.md
- spec.md
- README.md
made by ogcae