Miscellaneous > Programming & Networking

Create your own language

<< < (4/5) > >>

H_TeXMeX_H:
Well they did make something like a graphical programming language for the Lego programmable Lego bot things ... I had one as a kid ... basically the program was visualized as blocks representing loops, if-then statements, timing functions, etc. in a modular fashion, where you decided what you wanted the Lego bot to do when it received an input, and the speed of each of the connected motors .... I wasn't very good at it, my bot smashed itself to pieces after about 2 minutes :D ... luckily it was relatively easy to repair.

Pathos:
Visualising control flow is easy, IDA pro (a dissasembler) has a great tool that can turn any function into a flowchart. Note that an 50 line function would require about 20 printed pages to be legible. and thats just program flow.

what about variables? I suppose you could show data transfer with arrows, the result of a function (functions could have multiple returned values because it doesn't need to fit on a line). Otherwise you need some way of uniquely identifing memory locations...letters are a lot easier.

At the end of the day you will be building something similar to a circuit/IC diagram .... they do those in programming languages now because its so much easier then generate a diagram.

noob:

--- Quote from: H_TeXMeX_H ---Well they did make something like a graphical programming language for the Lego programmable Lego bot things ... I had one as a kid ... basically the program was visualized as blocks representing loops, if-then statements, timing functions, etc. in a modular fashion, where you decided what you wanted the Lego bot to do when it received an input, and the speed of each of the connected motors .... I wasn't very good at it, my bot smashed itself to pieces after about 2 minutes :D ... luckily it was relatively easy to repair.
--- End quote ---

The Robotics Ivention System. I actually have my RCX here on thre desk lol. That was a good interface though.

_kill__bill:

--- Quote from: Aloone_Jonez ---
It would be like a flowchart language and intead of being a compiler or interpretor the code would be converted to assembly which could be optimized manually (if needed) then assembled.
--- End quote ---

Yeah. Some company made such a thing (intelitek EasyC, used for competition robotics) and it completely sucked.
It had almost NO functions, NO custom subroutines, worked only ran on WinXP, and only as admin. :mad:
 
Overall, a graphic editor would be great for noobs, but would never work for complex stuff.

solemnwarning:
Graphical language.... VB

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version