Pages: [1]   Go Down
Author Topic: ANTLR Language Files / Definitions  (Read 1409 times)
0 Members and 1 Guest are viewing this topic.
Colorado
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would like to implement the Arduino language in a simulated environment and am trying to find the ANTLR language definition files. (instead of recreating them by hand) Are these available for non-Arduino projects, or do I just need to get defining by hand? smiley "Arduino-like" would good enough for what I am doing, just hoping to save some time/repeated effort.
Logged

0
Offline Offline
Faraday Member
**
Karma: 24
Posts: 3495
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The "Arduino language" is better known under the name "C++". It is only the IDE that tries to disguise the fact that you are actually dealing with C++. Probably because some people seem to have the strange conception that C++ is somewhat difficult to learn.
Logged

Check out my experiments http://blog.blinkenlight.net

Colorado
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, that makes things easier. smiley

Thank you for your quick response. It looks like then, for my simulation I'll just need to implement hooks for the predefined Arduino constants and functions that I found on the language reference page. Excellent.

(and of course, figure out ANTLR. You'd think 20 years of coding would prepare me for this meta task of coding for coding)
Logged

0
Offline Offline
Faraday Member
**
Karma: 24
Posts: 3495
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, meta code is always hard smiley-wink
Logged

Check out my experiments http://blog.blinkenlight.net

Pages: [1]   Go Up
Jump to: