Climbing the Abstract Syntax Tree

James Titcumb (22.Sep.2018 at 11:45, 1 hr )
Talk at PHP Developer Days 2018 (English - UK)

Rating: 5 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 Joind.in 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!
= nine minus eight

Comments

Rating: 5 of 5

23.Sep.2018 at 08:36 by Matthias Gutjahr (54 comments) via Web2 LIVE

Very informative talk about the AST and its possibilities.

Rating: 5 of 5

23.Sep.2018 at 09:42 by Stephan Hochdörfer (206 comments) via Web2 LIVE

I think the talk improved quite a bit in comparison to the last time I saw it. Clear explanation of what an AST is, how it works and how it can be processed.

Rating: 5 of 5

23.Sep.2018 at 10:22 by Théo FIDRY (21 comments) via Web2 LIVE

Really nice walkthrough on how to get started with ASTs, how to deal with it and how to use it.

Rating: 5 of 5

23.Sep.2018 at 23:01 by Claudio (38 comments) via Web2 LIVE

This talk was about how the AST look like and what kind of benefits it brought to PHP. In the later part of the talk, other AST related libraries were shown and what possibilities they can add to a project. Next to extensions, there were also PHP libraries mentioned. If you want to get a better understanding of PHP, you should participate in this talk.

Rating: 5 of 5

26.Sep.2018 at 23:46 by Susanne Moog (5 comments) via Web2 LIVE

Fun talk with an easy to follow structure that helped me get a better grasp of the topic.

© Joind.in 2018