Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An interpreter for the functional language (POPL course).

License

NotificationsYou must be signed in to change notification settings

interpreterz/functional

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run the parser:

(1) Openghci, the Haskell interactive prompt.(2) Load the fileAST.hs(3) Give any expression- belonging to the LEXICAL language- as a string to the functionrun.

(note: the evaluator has not been implemented yet!)

$ ghciPrelude>:lAST.hsPrelude>:lAST.hs[1of3]CompilingParseUtils       (ParseUtils.hs, interpreted )[2of3]CompilingASTParser        (ASTParser.hs, interpreted )[3of3]CompilingMain             (AST.hs, interpreted )Ok, three modules loaded.*Main> run"( + 1 2 )"3

[8]ページ先頭

©2009-2025 Movatter.jp