fix README formatting

This commit is contained in:
darkf 2013-10-20 17:48:02 -07:00
parent 77b49494b5
commit dcb52ad6eb
4 changed files with 17 additions and 7 deletions

View File

@ -4,13 +4,11 @@ It's not meant for real-world use but for educational purposes on writing an int
**Features** **Features**
* No re-assignment (i.e., once you bind a value, you can't re-assign it) * No re-assignment (i.e., once you bind a value, you can't re-assign it)
* Pattern matching * Pattern matching: `f([]) -> "nothing". f([a]) -> one thing".`
f([]) -> "nothing". * Imperative I/O
f([a]) -> one thing". * Higher-order functions
* Imperative I/O * Partial evaluation on curried functions
* Higher-order functions
* Partial evaluation on curried functions
**Hello World!** **Hello World!**

4
ast.hs
View File

@ -1,3 +1,7 @@
-- AST definition for the Lamb programming language
-- Copyright (c) 2013 darkf
-- Licensed under the terms of the zlib license, see LICENSE for details
module AST where module AST where
data AST = Add AST AST data AST = Add AST AST

View File

@ -1,3 +1,7 @@
-- Interpreter for the Lamb programming language
-- Copyright (c) 2013 darkf
-- Licensed under the terms of the zlib license, see LICENSE for details
module Interp where module Interp where
import Prelude hiding (lookup) import Prelude hiding (lookup)
import qualified Data.Map as M import qualified Data.Map as M

View File

@ -1,3 +1,7 @@
-- Parser for the Lamb programming language
-- Copyright (c) 2013 darkf
-- Licensed under the terms of the zlib license, see LICENSE for details
module Parser where module Parser where
import Text.Parsec import Text.Parsec