Skip to content
/ zsc Public
forked from theodox/zsc

an experimental python to ZScript transpiler

License

Notifications You must be signed in to change notification settings

techartorg/zsc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

##STATUS Very much pre-alpha right now. Contributors wanted!

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

About

an experimental python to ZScript transpiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%