aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/README
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-05 01:22:19 +1000
committerDavid Walter Seikel2012-01-05 01:22:19 +1000
commit3f78664fde0d8208f34ed7c653a2d02da5d323ad (patch)
tree47c1b3e28f5d61ed8c2c90de952181da6f2a2fc0 /LuaSL/README
parentMove the object files out of the source directory. (diff)
downloadSledjHamr-3f78664fde0d8208f34ed7c653a2d02da5d323ad.zip
SledjHamr-3f78664fde0d8208f34ed7c653a2d02da5d323ad.tar.gz
SledjHamr-3f78664fde0d8208f34ed7c653a2d02da5d323ad.tar.bz2
SledjHamr-3f78664fde0d8208f34ed7c653a2d02da5d323ad.tar.xz
Add a compiler stub.
Diffstat (limited to 'LuaSL/README')
-rw-r--r--LuaSL/README18
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
63that compares against XEngine. 63that compares against XEngine.
64 64
65 65
66Parser.
67-------
68
69The SL viewer code includes a flex/bison based parser that generates C++
70code that depends on various other bits of LL source code. It's GPL 2,
71though the flex and bison source files includes no license text.
72
73Flex is BSD and written in C. Bison is GNU (GPL 3 since 2.4.1, 2.3 is
74GPL2) and written in C. It used to include info that stuff generated by
75bison had to be GPL. Berkeley YACC is public domain, and written in C.
76There is also btyacc, based on the berkeley version, but with some
77useful extras. btyacc version 3 (the version coming from my version of
78Ubuntu) apparently no longer supports C, only C++. It's written in C
79though.
80
81Let's see if flex and btyacc will do the trick, and output C.
82
83Might be best to have the LSL to Lua converter as a seperate executable.