Zsc
an experimental python to ZScript transpiler
Install / Use
/learn @theodox/ZscREADME
ZSC
This is an experimental python to zscript transpiler.
At this point in its evolution the goal is to speed the rough in of a conplex zscript, not to allow the complete replacement of ZScripting with python. The ZScript language is a very narrow subset of python, and implementing a lot of core python concepts in ZScrtipt would be a major undertaking. This project is aimed at the more modest goal of quickly building up a Zscript with cleaner syntax and more predictable behaviors.
IMPORTANT NOTE
Active development in this repo is now happening here: https://github.com/techartorg/zsc
Usage
py zsc.py <path_to_python file>
The first argument is always the path to a python file. The output will be written to a file in the same location with the extension changed from .py to .txt
If the optional --output argument is supplied, the file will be written to that path instead.
If the optional --show flag is supplied, the transpiled file will be printed to stdout
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
