# > Introduction

- Thread: https://externals.io/message/17324
- Original archive: https://news-web.php.net/php.internals/17324
- Started by Weyert de Boer on 2005-07-19T18:46:19+00:00
- Messages: 3
- 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

---

## #17324 — Weyert de Boer — 2005-07-19T18:46:19+00:00

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

Hello!

I would like to introduce myself on this internals list, as you can read my name is Weyert de Boer and a flying dutchman. My goal is help PHP development, and learning more about compiler development. 

My first question to start my fame on this list is, does anyone on this list happen to have the grammar of PHP language?

-- 
Yours,

Weyert de Boer (wdb@innerfuse.biz)
innerfuse*

http://www.innerfuse.biz/

---

## #17326 — Marcus Boerger — 2005-07-19T19:10:49+00:00

URL: https://externals.io/message/17324#17326 · In reply to: #17324

Hello Weyert,

  look into Zend/*.l and Zend/*.y. Further more several things in php are
done using re2c. SQLite uses its own stuff, lemon. And the engine uses a
script zend_vm_gen.php to generate the engine code. Have fun by looking
into all that stuff.

marcus

Tuesday, July 19, 2005, 8:46:19 PM, you wrote:

> Hello!

> I would like to introduce myself on this internals list, as you can
> read my name is Weyert de Boer and a flying dutchman. My goal is help PHP
> development, and learning more about compiler development. 

> My first question to start my fame on this list is, does anyone on this
> list happen to have the grammar of PHP language?

> -- 
> Yours,

> Weyert de Boer (wdb@innerfuse.biz)
> innerfuse*

> http://www.innerfuse.biz/




-- 
Best regards,
 Marcus                            mailto:mail@marcus-boerger.de

---

## #17327 — ondrej@kmit.sk — 2005-07-19T19:12:47+00:00

URL: https://externals.io/message/17324#17327 · In reply to: #17324

Weyert de Boer wrote:
> My first question to start my fame on this list is, does anyone on this 
> list happen to have the grammar of PHP language?

I think, you can start with zend_language_parser.y in "Zend" 
subdirectory in tar ball.

Rules in section 'Rules' :) can be easy rewritten into BNF or whatever 
you want.

-- 
Ondrej Ivanic
(ondrej@kmit.sk)
