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
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: 101
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: 4875

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: 101
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: 2329
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: 101
Thank you for your suggestion. I'll look for that title and similar ones.
 
 
subject: How to develop a simple script language from scratch
 
Threads others viewed
which RAD tool to use?
New Comer
Java v/s PHP
Scala like languages
Path of jsp files.
developer file tools