bbbfe92d02aaf31f563ff17a31c7bf3fa8e8b4d5
_
This repository is a Python port of mames _ module for Ruby that allows you to write scripts by using _ exclusively.
Overview
The following script is a "Hello, world!"" program in _:
____ _ _____ ____ __ _ ___ ______ ____ ____ _ ___ ____ __
___ __ _ _____ __ _ ____ ___ _ _ ___ _____ ______ ____ _ _
____ _ _ ____ _ ____ __ __ ___ _ ______ ___ ____ __ ______
____ _ ____ ____ __ _ ____ _ _ ___ _____ _____ _ ______
____ __ _ ____ __ _ ______
As you can see, it uses very advanced and fancy features of modern linguistics to model the human language exactly in code.
As in mames' original version, you can create such a script easily:
- script(YourCodeAsAStringHere) will encode it raw
- ruby_script(YourCode) will encode it and add a "require"
- python_script(YourCode) will encode it and add an "import"
Install
python setup.py install
Drawbacks
I still cope with Pythons' differences to Ruby. That means by now you have
to keep the script as a string and give it to _
's to_be_exec()
function.
Not cool, I know. I am working on it.
Description
Languages
Python
100%