Skip to content

MaskRay/Hython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A little language with Python-like grammer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors