Do you still use a traditional recursive AST data structure with pointer indirections between nodes? (AFAICT, the parts of the post which seem potentially relevant to this question only pertain to symbols and strings.)
-
-
-
We do. You can find the core AST definitions here: https://github.com/sorbet/sorbet/blob/master/ast/Trees.h … Vanilla C++ classes with RTTI and `unique_ptr` to children.
- Još 1 odgovor
Novi razgovor -
-
-
Great write up! Many of these tricks are familiar to me but inlining standard library’s symbol definitions into typechecker’s binary is a new one. 30ms from startup to action is
neat!Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
*before clicking* Is it the lack of dairy?
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
yo this is hot
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.