Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

how do i wrote interpreter?

Name: Anonymous 2006-04-26 2:08

I want to implement a scripting language in my project.

I don't want to use Lua, even though it's the easiest way I know how.  Instead, I want to write my own scripting language interpreter into my program.

I've a B.S. degree in Computer Science so I know most of the fundamentals, but not the advanced practicalities.  For example, I can probably write up a formal grammar for whatever scripting language I wish to use -- but ... then what?  How do I apply that knowledge, to what I wish to do?

Any good sources on this subject that isn't targeted towards Ph.Ds with Masters Degrees, but good enough for someone with a B.S. degree level of education?

Name: Anonymous 2006-04-26 18:22

Lua is best suited to small-scale event scripting -- it CANNOT do everything C's or LISP's built-in standard syntax can unless you import runtime libraries into your program

First off, that's total horseshit. I don't think you know what you're talking about. But, for the sake of argument, I'll assume that's true.

So, let me get this straight: instead of importing these libraries, or adding hooks inside your program, you want to make an entirely new language, as well as the associated libraries (they won't write themselves, you know)? And you've never even written your own compiler before, or designed a language?

You, sir, are a first class idiot with a bad case of "Not Invented Here". I guarantee any solution you come up with will never touch Lua, or any other widespread embedded language, and you'll never finish your project either.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List