This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to develop a simple script language from scratch

 
Claude Moore
Ranch Hand
Posts: 747
7
IBM DB2 Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good morning guys,

I'd like to develop a simple script language - a very very simple one - and I'd like to know from your where I can start learning on this theme.
I need some tutorial or book I can study on and learn the very fundamental things.....

Thanks for your help!
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How much compiler theory do you know? You need to know how to properly parse the text, and convert it into actions, and that is what compiler theory will tell you.
 
Claude Moore
Ranch Hand
Posts: 747
7
IBM DB2 Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the matter I know absolutely nothing.. since I'd like to be helpded with hints to start from....What I have in mind is to develop a very simple script language to be interpreted by a standard JVM, something similar - but less ambitious - to Jython - which as far as I know is a Java intepreter for the Python language.

Can you give me any suggestions ?

Thank you for your help.
 
Tim Moores
Bartender
Pie
Posts: 2496
10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to learn the theory behind it, then http://www.amazon.co.uk/Compilers-Principles-Techniques-Alfred-Aho/dp/0321491696/ is the standard book on the subject.
 
Claude Moore
Ranch Hand
Posts: 747
7
IBM DB2 Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your suggestion. I'll look for that title and similar ones.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic