Programatica Tools

Directory tools/base

The README file is displayed below the directory index.
NameLast modifiedSize
Parent Directory  -
ghc_test2001-04-12 06:43 227
testparse2001-04-12 06:43 99
Makefile.ghc-4.082001-04-28 03:02 3.1K
Main.hs2001-07-30 07:07 8.5K
testparse22001-10-23 01:49 149
ParseOld.hs2001-11-09 01:47 8.2K
tstScopeNames.hs2001-11-24 10:12 1.6K
Makefile.old2002-01-30 08:25 1.8K
ScopeHaskellProgram.hs2002-02-07 01:53 395
ParseHaskellProgram.hs2002-02-28 00:46 1.0K
myhugs2002-03-11 01:45 53
pfei.hs2002-03-13 09:41 851
Flags.ghc2002-03-15 00:03 47
ParseProgram.hs2002-03-15 00:03 1.6K
TiProgram.hs2002-03-26 07:56 1.3K
myghci2002-03-29 22:49 88
tstTI.srclist2002-04-13 00:05 3.7K
ScopeProgram.hs2003-01-06 23:50 851
tstModules.hs2003-01-06 23:50 5.5K
tstTI.hs2003-01-06 23:50 1.1K
Makefile2003-06-19 21:47 1.2K
syntax/2005-04-15 01:29 -
HuMakefile2006-06-09 22:39 1.2K
tests/2009-01-02 11:53 -
Modules/2009-01-04 11:18 -
pretty/2009-01-04 11:18 -
parse/2009-01-04 12:00 -
AST/2020-07-22 12:55 -
TI/2020-07-22 12:55 -
transforms/2020-07-22 12:56 -
lib/2020-07-22 12:56 -
defs/2020-07-22 12:56 -
parse2/2020-07-22 12:58 -
Extensible Haskell front-end for the Programatica project - directory base

Extensible Haskell front-end for the Programatica project

What is in this directory (base)

This directory contains the code that deals with the base language, i.e., more or less Haskell 98. It is structured to allow most of the code to be reused without changes in extended versions of the language.

Obsolete subdirectories

parse, SA, TC

Active subdirectories

AST
nonrecursive data structures for the abstract syntax (reusable in extensions),
syntax
knot-tying recursive definitions for the base language (not reusable in extensions),
parse2
Happy parser (not reusable), lexer, lexer generator. The lexer is described in A Lexer for Haskell in Haskell.
Modules
implementation of Haskell's module system, as described in the paper A Formal Specification for the Haskell 98 Module System,
defs
defined names, free names, mapping over names, scoping information, infix operator reassociation (both reusable parts and knot-tying parts for the base language),
TI
type checker (both reusable parts and knot-tying parts for the base language),
pretty
library of pretty printing combinators,
lib
general library modules (does not depend on anything else here),
transforms
Source level transformations (e.g., pattern match simplification). Generation of code for derived instances.
tests
test input,
tests/HaskellLibraries
Haskell 98 Prelude and Standard Libraries, with some minor changes to make them go through our type checker. (This is now an important part of our tools and doesn't belong in the test subdirectory anymore!)

Authors: various
Contact: TH