good luck trying to make a compiler.
mga software company na nag himo ana nag hire ug daghan taw para lang mu himo ug compiler.
suggested topic, just make a dynamic link library (dll) for any purpose you might think of...
good luck trying to make a compiler.
mga software company na nag himo ana nag hire ug daghan taw para lang mu himo ug compiler.
suggested topic, just make a dynamic link library (dll) for any purpose you might think of...
This was our thesis more than 15 years ago (USC-TC batch 94). We did it through DTMF (Dual-tone multiple freq.) on a fixed land line phone (During that time, di pa uso ang cellphone). plus an automated pager alert (pocketbell) if there was a fire detected from your house or a break-in (burglar alarm), it also automatically dials 911 and reports via an automated voice prompt. You can control any appliances remotely, a built-in DTMF decoder decodes the tone signals. There was also a voice prompt to enter a passcode (for security). And the relay switches to control the appliances in the home (total of 24).
These days these security devices are popular in the US.
Sayon ra man buhaton ang compiler ron. Try using ANTLR (ANTLR Parser Generator), you can create your own compiler/interpreter in less than a days work. Its the symantics, and syntax design plus the process of making it efficient and the creation of libraries are the ones that would take time.
But if you base your compiler on the existing language (C/C++, naa na kay daghan ma download the rules for Lex and yacc), then its easier.
I suggest making a embeddable scripting engine (< 300K), If you're familiar with C++ you can find some resources from these links:
UnderC - A compact C++ interpreter (http://home.mweb.co.za/sd/sdonovan/underc.html)
CH - Commercial Embeddable C/C++ interpreter (Ch -- an embeddable C/C++ interpreter)
CINT - Embeddable C/C++ Interpreter (CINT | ROOT)
The rationale for developing this project includes...
1) Compiling to firmware takes time (compile the code and burn to an eeprom), and the target must be made to restart for the firmware code to boot. If a scripting engine is in place, its easy to download it to the firmware (usb, serial, network, etc.) load and run it in place (no need to reboot).
I developed an embeddable scripting engine based on Perl before, its usefull for my own purposes, but if you would like to extend it, PM me.
Similar Threads |
|