プロジェクト
概要
CPython仮想マシン向けのプログラミング言語。
言語・ランタイム計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルdg
A (technically) simple language that compiles to CPython bytecode. DISCLAIMER: this project is just for fun, please don't use it for anything serious, thanks.
Requirements
CPython 3.4 or any other Python VM with equivalent bytecode (like PyPy3).
Installation
pip3 install git+https://github.com/pyos/dg
Usage
python -m dg
python -m dg file.dg argument1 argument2
python -m dg <<< 'print "Hello, World!"'
echo 'print "Hello, World!"' > dg_module.dg; python -c 'import dg, dg_module'
More complex stuff
Text editor support
- Sublime Text and TextMate bundle
- GEdit/GtkSourceView syntax definition
- vim plugin (courtesy of Michele Lacchia)
- Atom syntax (by Ale)
To-do
- String interpolation:
i"{expression #flags}"=="{:flags}".format expression - Tools for easy AST manipulation.
- Compiler extension API.
- Some of the more obscure Python features: exception causes, function annotations.
関連プロジェクトを探す
読み込み中…