Create an Interpreted Language in C++

So for the Session Ending I have to Choose a Project in C++. Without Thinking I Exclaimed that i will create an INTERPRETED Programming Language that gets first interpreted into C++ , and then Compiled.

I thought for a While , and Finalized on the Syntax , which looks like this

1
2
3
4
5
6
7
8
9
10
11
if true
  print("ok")
end
# => ok

if false
  print("uho...")
else
  print("ok")
end
# => ok  


The Looping Constuct
1
2
3
4
5
6
7
8
9
10
# While loop

x = 0

loop x < 10
  x = x + 1
end

print(x)
# => 10 



All I need is to know are Good Tutorials , E books , Tools for this Purpose. Actually I have also Developed a Programming Language in Java too.

All Advises are Welcome :D
Last edited on
Topic archived. No new replies allowed.