diff --git a/README.md b/README.md index 598d340..ccdc2e8 100644 --- a/README.md +++ b/README.md @@ -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!** diff --git a/ast.hs b/ast.hs index 360441f..0175454 100644 --- a/ast.hs +++ b/ast.hs @@ -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 diff --git a/interp.hs b/interp.hs index 082f307..36da3db 100644 --- a/interp.hs +++ b/interp.hs @@ -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 diff --git a/parser.hs b/parser.hs index 8477530..2c44ac0 100644 --- a/parser.hs +++ b/parser.hs @@ -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