Click here to Skip to main content
15,909,332 members
Everything / Coco/R

Coco/R

Coco/R

Great Reads

by Andreas Gieriet
This is an alternative for "Mathematical Expression Parser Using Recursive Descent Parsing"

Latest Articles

by Andreas Gieriet
This is an alternative for "Mathematical Expression Parser Using Recursive Descent Parsing"

All Articles

Sort by Score

Coco/R 

3 Feb 2022 by Member 8816170
I am interested in making a compiler for IEC 61131 Structured Text to target an ARM processor. I want the code generator output to be in C++. Then I plan on using GCC C++ to ARM. I already have C++ code for ARM to act as a runtime.The PC program tool of choice is C# and I was looking at...
1 Jun 2016 by Garth J Lancaster
I'm not sure what (particularly the 2nd sentence) in Quote:Then I plan on using GCC C++ to ARM. I already have C++ code for ARM to act as a runtime. means - can you elaborate ?Certainly I see no real issue using Antlr or COCO/R or ? to take IEC 61131 Structured Text, and build a 'parse...
26 Oct 2016 by integragreg
Have a look at the Eclipse Xtext project. Once you have your grammar defined, you can write a generator pretty easily that will generate the C++ code based on your AST.
11 Apr 2020 by carl1248
I see this is an old post but I thought I would put my ten pence in,,, Get the statement list into post-fix notation. You can then walk through the notation performing actions on the and/or logic. Once you get it into that format you will...
26 Apr 2012 by Andreas Gieriet
This is an alternative for "Mathematical Expression Parser Using Recursive Descent Parsing"