This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » General Computing
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: 430
    
    1

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: 5812
    
    7

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: 430
    
    1

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: 2408
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: 430
    
    1

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
which RAD tool to use?
Java v/s PHP
Path of jsp files.
Scala like languages
New Comer