aspose file tools
The moose likes General Computing and the fly likes How to develop a simple script language from scratch Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » General Computing
Reply Bookmark "How to develop a simple script language from scratch" Watch "How to develop a simple script language from scratch" New topic
Author

How to develop a simple script language from scratch

Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 151
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

Joined: May 14, 2008
Posts: 5536

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.


JBoss In Action
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 151
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
Rancher

Joined: Sep 21, 2011
Posts: 2407
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

Joined: Jun 24, 2005
Posts: 151
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
 
subject: How to develop a simple script language from scratch
 
Similar Threads
Scala like languages
New Comer
which RAD tool to use?
Path of jsp files.
Java v/s PHP