Re: ENB: Redesigning the c++ and js importers

2023-05-10 Thread Edward K. Ream
On Wednesday, May 10, 2023 at 5:53:05 AM UTC-5 Edward K. Ream wrote: > *Aha!* Let's use *helper lines* to simplify the analysis. Wow. This Aha has collapsed the complexity of *all* parts of the C++ importer. Without line states, the code generators are dead simple! Take a look at *i_c.gen_lin

ENB: Redesigning the c++ and js importers

2023-05-10 Thread Edward K. Ream
This Engineering Notebook post discusses improving Leo's importers for difficult-to-parse languages such as c++ and javascript. Issue #3327 has become urgent now that I have begun to study codon! *tl;dr:* Aha: use *helper lines* to guide

Re: Aha: How to find patterns in python parse trees

2023-05-10 Thread Edward K. Ream
On Tuesday, May 9, 2023 at 9:32:54 AM UTC-5 tbp1...@gmail.com wrote: There has been many words written about how important static typing is, and how therefore languages like Python cannot really be good production languages. To the contrary, I have read that only say 10% of bugs in actual work