Skip to content

MiniMiniLogo language for programming 2D graphics using Haskell

Notifications You must be signed in to change notification settings

olsenme/snowFall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

snowFall Program

By Meagan Olsen, Kevin Deming, and Alex Bailey

Implement semantics of MiniMiniLogo Language that generates a drawn picture.

Instructions

  1. Install haskell platform
  2. Open terminal
  3. cd <your directory>
  4. ghci
  5. :l (name of file(no extensions))
  6. draw snowFall, snowWall, etc

Dicussion

We used a Haskell implementation of MiniMiniLogo, a derviative of the the Logo language and Haskell to create this app.

Requirements

prog 	::= 	ε   |   cmd ; prog 	sequence of commands
mode 	::= 	down   |   up 	pen status
cmd 	::= 	pen mode 	change pen mode
	| 	move ( int , int ) 	move pen to a new position
  • implements a change in the state of the pen
  • implements a list of lines to draw
  • implement ```cmd```, the semantic function for MiniMiniLogo commands (Cmd)
  • Implement prog, the semantic function for MiniMiniLogo programs (Prog).

About

MiniMiniLogo language for programming 2D graphics using Haskell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published