Vortrag: Building a smarty-to-machine-code compiler
24. August 2014
–
HS6 (PHP)
Language:
en
PHP Devroom
Zusammenfassung
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.
Beschreibung
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.
Additional Information
Gleichzeitige Events
Python (C120)
Docker Orchestration