|
-
Mar 18th, 2022, 10:28 AM
#1
Thread Starter
Addicted Member
Do Simple programming language interpreter and editor for kids
Hello programmers have already made the basis of my programming language and the compiler however I am creating an editor coupled with the interpreter because my language will only be compiled if i have this editor that would be similar to visual studio the goal is to help children learn logic programming and create their executeableto play anything too advanced or too basic. I check the interpreter if it contains the word and cut it and picks up the next argument and interprets it and cuts it after cutting each line and idenfiticar each command it jumps to the method that does the function of each and assembles the compiled file with the instructions of the language. it's pretty simple however I'm having a problem that is my language it's like c# in direct command of single line is perfect to do this, but I do command with keys and it gets very bad to take inside the keys and assign that command, any idea how to do this ?
See:
integer i = 0;
Do{
Print("Any Text");
}(while i = 0);
if ( i < 1 ) {
Print ("True");
}
as shown the top he would totally ignore the keys by sequestest element by element the idea would be to say that the keys are part of the block of that if I have experience in assembling apps and creating advanced things and Understand the concept of compiler and interpreter but as it is well basic what I want and does not have an end of quick execution or functionality just for children to learn and like this world I would like a light, or book or example of someone who did something like that.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|