Experimental Haskell PHP parser / evaluator / code generator
Haskell PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
CodeGen.hs
Conversion.hs
Evaluator.hs
IniSettings.hs
LICENSE
Main.hs
PhpInfoFunctions.hs
README.md
Runtime.hs
Setup.hs
StringFunctions.hs
StringParse.hs
Tokenizer.hs
VariableFunctions.hs
language-php.cabal
runtests.hs

README.md

Experimental Haskell module for parsing and evaluating PHP code.

Tokenizer: parseString is used to process PHP files into an AST structure

Evaluator: evalParseResults is used to evaluate a parse result from parseString

CodeGen: genApp is used to generate Haskell code from a PHP AST structure

Building with cabal creates a binary which evaluates php file passed in as argument.