Programatica Tools

Directory tools/base

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