An open API service indexing awesome lists of open source software.

https://github.com/maskray/hython

A little language with Python-like grammer
https://github.com/maskray/hython

Last synced: 12 months ago
JSON representation

A little language with Python-like grammer

Awesome Lists containing this project

README

          

# Hython

A little language with Python-like grammer.

The design borrows quite a lot from language-python and berp.
Forgive me as this is the first time I employ alex and happy, and the principles of compiler design
is still intelligible to me.

## Hackage Dependencies

ghc, alex, happy, cmdargs, data-lens, data-lens-template

## Supporting Features

### Data types

These are a list of available data types:

1. None
2. Integer
3. Bool
4. Function

### Flow control statements

1. if .. elif .. else
2. while .. else
3. break continue

### Others

1. one-line lambda
2. def

Check out `tests/` to find out all features.