cs452: Programming Languages


Syllabus

Schedule

Assignments

Notes
Demos

Instructor schedule

Environment

Ubuntu linux image described below. 

  

The computers in the lab have virtual box installed, and a few of years ago, Joel Ferrier prepared a nice Ubuntu linux virtual machine disk image containing the software we need. 

 

Instructions for using the prepared VM disk image on either the school machines or your own computer (assuming virtual box is already installed).  

 

Tools help

Tricks for debugging flex and bison

Flex detailed synopsis: https://www.cs.princeton.edu/~appel/modern/c/software/flex/flex.html

Flex man page - https://www.cs.virginia.edu/~cr4bd/flex-manual/

Bison man page - http://www.gnu.org/software/bison/manual/

PATTERNS section of GNU flex man page

 

Other Flex and Bison resources:

Levine, John, Tony Mason, Doug Brown. 2009. Flex & Bison: Text Processing Tools.  See http://oreilly.com/catalog/9780596155988 

 

Haskell Environment

Installing in the Ubuntu image:

sudo apt-get install haskell-platform

 

The ‘textbook’ – Learn You a Haskell for Great Good

GHCI User’s Guide – chapter 2 includes documentation on the debugger

GHCI Cheat Sheet

 

 

Prelude functions with examples: PreludeTour.pdf  (retrieved from http://kodu.ut.ee/~varmo/MFP2004/PreludeTour.pdf 2/9/2016) 

Prelude listing with links: https://www.haskell.org/onlinereport/prelude-index.html

 

 

The source for all things Haskell - https://www.haskell.org/

https://www.haskell.org/hoogle/ -- Haskell API search engine

https://hackage.haskell.org/ -- central package archive of open source software