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**
* No re-assignment (i.e., once you bind a value, you can't re-assign it)
* Pattern matching
f([]) -> "nothing".
f([a]) -> one thing".
* Imperative I/O
* Higher-order functions
* Partial evaluation on curried functions
* No re-assignment (i.e., once you bind a value, you can't re-assign it)
* Pattern matching: `f([]) -> "nothing". f([a]) -> one thing".`
* Imperative I/O
* Higher-order functions
* Partial evaluation on curried functions
**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
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
import Prelude hiding (lookup)
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
import Text.Parsec