Experimental Haskell PHP parser / evaluator / code generator
Haskell PHP
Latest commit 23ba35c Mar 2, 2015 @jhartikainen Merge pull request #2 from haskellcamargo/master
Implemented functions for string: strtoupper, strtolower
Permalink
Failed to load latest commit information.
tests
.gitignore tests, fixes, etc. junk Jan 6, 2013
CodeGen.hs Simple Haskell codegenerator from PHP AST Jan 11, 2013
Conversion.hs
Evaluator.hs
IniSettings.hs ini settings to mutable, ini_set Jan 9, 2013
LICENSE
Main.hs
PhpInfoFunctions.hs
README.md add readme Jan 11, 2013
Runtime.hs Simple Haskell codegenerator from PHP AST Jan 11, 2013
Setup.hs
StringFunctions.hs Implemented functions for string: strtoupper, strtolower Feb 27, 2015
StringParse.hs
Tokenizer.hs
VariableFunctions.hs basic ini settings, ini_get Jan 9, 2013
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.