scripting language

is there any good book/ online tutorial, how to built a scripting language?
A course in compiler construction would help a lot here.
Well, there are many online tutorials out there if you want, but it depends on what exactly are you after. Are you wanting to make something interpreted close to python? Either way i would suggest looking up on how to make a lexer online to start you off.
This article looks interesting in that it dispenses with LEX/FLEX and YACC/BISON and just does everything in code (C...)

A Simple Scripting Language
http://www.incubatorgames.com/20101119/designing-scripting-language-part-1/
Perhaps this post series should be named the “Brute Force method to Design a Simple Scripting Language”.


This article takes the trad LEX/FLEX and YACC/BISON path:

Implementing A Scripting Engine - Part 1 - Overview
by Jan Niestadt (07 May 1999)
http://www.flipcode.com/archives/Implementing_A_Scripting_Engine-Part_1_Overview.shtml

Andy
Last edited on
Topic archived. No new replies allowed.