Latest articles tagged Parser:

Code Generation & Meta-Programming in Embedded Software

from on 13.03.2017
0
Tools Zühlke

Code generation and meta-programming can be significant time savers in embedded software projects. But pro-ject leaders and developers are reluctant to use it, for various reasons. This post looks into these reasons and analyses them one at a time. In conclusion, only some of the reservations towards code generation tools seem to be justified. Continue reading

Diesel, Part 3: Bootstrapping Diesel

from on 20.05.2015
0

I ‘ve followed with interest the efforts of my colleagues to implement a lightweight DSL approach using an LL(1) parser in Ruby. Daniel Mölle has shown in his blog post how easily a Melody DSL can be implemented using his Diesel approach. I question myself whether this simple approach is an advantage for more realistic tasks. The Melody DSL is a sort of a Hello World example that is too simplistic in my opinion. Once a project is complex enough for a DSL, I expect to see a significant increase in the number of keywords and language constructs. Continue reading

Diesel, Part 1: A Plea for a Lightweight Approach to DSLs

from on 19.12.2014
0

Domain-specific languages and code generation have proved to be very helpful tools in many of our projects. However, several colleagues and I share the impression that the tools of the trade come with cumbersome restrictions and dependencies. Therefore, a while back, we posed the following hypothesis: We should investigate lightweight approaches to parser/generator toolkits that integrate particularly well with our usual development environments and build systems. Continue reading