diff options
author | David Walter Seikel | 2012-01-05 01:22:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-05 01:22:19 +1000 |
commit | 3f78664fde0d8208f34ed7c653a2d02da5d323ad (patch) | |
tree | 47c1b3e28f5d61ed8c2c90de952181da6f2a2fc0 /LuaSL/README | |
parent | Move the object files out of the source directory. (diff) | |
download | SledjHamr-3f78664fde0d8208f34ed7c653a2d02da5d323ad.zip SledjHamr-3f78664fde0d8208f34ed7c653a2d02da5d323ad.tar.gz SledjHamr-3f78664fde0d8208f34ed7c653a2d02da5d323ad.tar.bz2 SledjHamr-3f78664fde0d8208f34ed7c653a2d02da5d323ad.tar.xz |
Add a compiler stub.
Diffstat (limited to '')
-rw-r--r-- | LuaSL/README | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/LuaSL/README b/LuaSL/README index a882bfc..b8edefc 100644 --- a/LuaSL/README +++ b/LuaSL/README | |||
@@ -63,3 +63,21 @@ Performance testing will have to be done on 5000 scripts, to see how | |||
63 | that compares against XEngine. | 63 | that compares against XEngine. |
64 | 64 | ||
65 | 65 | ||
66 | Parser. | ||
67 | ------- | ||
68 | |||
69 | The SL viewer code includes a flex/bison based parser that generates C++ | ||
70 | code that depends on various other bits of LL source code. It's GPL 2, | ||
71 | though the flex and bison source files includes no license text. | ||
72 | |||
73 | Flex is BSD and written in C. Bison is GNU (GPL 3 since 2.4.1, 2.3 is | ||
74 | GPL2) and written in C. It used to include info that stuff generated by | ||
75 | bison had to be GPL. Berkeley YACC is public domain, and written in C. | ||
76 | There is also btyacc, based on the berkeley version, but with some | ||
77 | useful extras. btyacc version 3 (the version coming from my version of | ||
78 | Ubuntu) apparently no longer supports C, only C++. It's written in C | ||
79 | though. | ||
80 | |||
81 | Let's see if flex and btyacc will do the trick, and output C. | ||
82 | |||
83 | Might be best to have the LSL to Lua converter as a seperate executable. | ||