|
Not Ranked
:
+0 / -0
0 score
Re: Self-Referential Language?
Yes, that was it: BNF. Backus Naur Format. Thanks Craig.
KAC: The logical start IMHO would be defining the starting point BNF in XML, then writing an Interpreter in Python that used the BNF explicitly as the definition of the language itself. Now, for the starter language, I would begin with a simple subset of Python!!! I would only add one teensy feature to this subset of Python, something like a keyword, say "BNF(n,m)", where n is the nth statement in your BNF, and m is the mth option in that statement. (The options are the text between the vertical bars |.) The type of BNF(n,m) would be a string, of course.
----------------
Hypography Forums Moderator
-- - - - - -
What concerns me is not the way things are, but rather the way people think things are.
Epictetus, Greek Philosopher
The map is NOT the territory.
Korzybski, Polish-American Philosopher
|