# PHPJ - php java Interperter

- Thread: https://externals.io/message/7635
- Original archive: https://news-web.php.net/php.internals/7635
- Started by Brad LaFountain on 2004-02-06T22:27:42+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #7635 — Brad LaFountain — 2004-02-06T22:27:42+00:00

URL: https://externals.io/message/7635#7635

Hello all,

 In light of dimitry picking up the slack that I started and going thru with it
(php-soap) was wondering if anyone would be interested in another project I
started but didn't follow thru with.

 I started a php4 interperter written in java. It uses a compiler compiler
called SableCC. SableCC is a really cool object oriented comiler compiler. One
of the SableCC developers created a php4 grammar file for it. So I took it and
messed around for while. I got to a point where alot of stuff worked so,
classes, functions, arrays, includes, all flow control, there is a start of a
memory manager.. (i don't think refrences were working). I had a simple "SAPI"
so you could run it in a servlet or commandline. Then I started working on the
phpj-api. Again stuff was going good with that. I have a few zend functions
implemented like `var_dump()` `define()` ... but i gave up shortly after realize
how big of a job it would be to do every function.

 I don't know if anyone is interested in seeing/having the code please contact
me. I don't know if the php group would want this in the main cvs tree.

 Here is a older build, ive changed alot since this, running inside tomcat.
http://www.designedideas.com:8080/phpj-0.0.1-alpha/
 
 - Brad

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
