dalerkd / cpp_serialize Goto Github PK
View Code? Open in Web Editor NEW通过对头文件进行分析构建中间结构,支持广泛的序列化和反序列化代码的自动生成。暂停设计:需要更好的 token分析方案.
通过对头文件进行分析构建中间结构,支持广泛的序列化和反序列化代码的自动生成。暂停设计:需要更好的 token分析方案.
此前越开发越累.所以暂停了.为什么累?陷入大量细节.逻辑越来越复杂.
最近在学<两周自制脚本语言>
阅读<平庸前端码农之蜕变 — AST>一文后豁然开朗.
现在明白了:是挂在了词法分析和语法分析混在一起的坑.
我将词法分析和语法分析一起做了,没有分开.
现在很乐观,因为症结已经找到,我会尝试先设计几个其他小Demo再按需求回来设计.
可以会推倒重搞,毕竟是5个月前的设计.又有了不少新技能Get.
使用了多叉树来表达工作.
我将词法分析和语法分析混在一起了,导致到处是空白处理代码.大脑疲惫不堪.
因为每个地方都要考虑当前
而更好的方式是:将混合的逻辑区分开,使用单独的词法分析和语法分析.
str1 = a+b;
c=str1;
显然可以通过优化语法树来解决哈.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.