Version 1.0

Lecture: Building a smarty-to-machine-code compiler

The open source SmartTpl libraries greatly speeds up Smarty templates bij turning templates into native machine code. During a crash course 'how to write your own compiler' you will see how this alternative template engine works inside, and you will discover that writing a compiler is not even that difficult.

The following topics will be covered:

- splitting up a source file into tokens
- building a syntax tree
- optimizing the syntax tree
- generating machine code
- just-in-time (JIT) compilers

Techniques and patterns that are used for building compilers are also very useful in other situations when you want to parse data.

Info

Day: 2014-08-24
Start time: 16:30
Duration: 01:00
Room: HS6 (PHP)
Track: PHP Devroom
Language: en

Links:

Feedback

Click here to let us know how you liked this event.

Concurrent Events