aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/README
diff options
context:
space:
mode:
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.