Climbing the Abstract Syntax Tree

James Titcumb (26.Oct.2017 at 15:15, 40 min)
Talk at Forum PHP 2017 (English - UK)

Rating: 4 of 5

The new Abstract Syntax Tree (AST) in PHP 7 means the way our PHP code is being executed has changed. Understanding this new fundamental compilation step is key to understanding how our code is being run.
To demonstrate, James will show how a basic compiler works and how introducing an AST simplifies this process. We’ll look into how these magical time-warp techniques* can also be used in your code to introspect, analyse and modify code in a way that was never possible before.
After seeing this talk, you'll have a great insight as to the wonders of an AST, and how it can be applied to both compilers and userland code.
(*actual magic or time-warp not guaranteed)

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

Please note: you are not logged in and will be posting anonymously!
= two plus five


Rating: 4 of 5

28.Oct.2017 at 11:12 by lnc (43 comments) via Web2 LIVE

Sujet très intéressant ! J'ai eu du mal à suivre sur certains aspects.

Rating: 4 of 5

30.Oct.2017 at 08:49 by Benoit Viguier (24 comments) via Web2 LIVE

Always fascinating to see what's under the hood of Php, thanks!

Rating: 5 of 5

02.Nov.2017 at 13:38 by Benjamin 'Ternel' Clay (30 comments) via Web2 LIVE

Very nice!

Rating: 4 of 5

12.Nov.2017 at 22:49 by Stéphane Hulard (29 comments) via Web2 LIVE

Nice talk, I haven't learned a lot of things during your presentation but it's always pleasant to refresh my mind about this kind of concept.

© 2018