From 3f78664fde0d8208f34ed7c653a2d02da5d323ad Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 5 Jan 2012 01:22:19 +1000 Subject: Add a compiler stub. --- LuaSL/README | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'LuaSL/README') 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 that compares against XEngine. +Parser. +------- + +The SL viewer code includes a flex/bison based parser that generates C++ +code that depends on various other bits of LL source code. It's GPL 2, +though the flex and bison source files includes no license text. + +Flex is BSD and written in C. Bison is GNU (GPL 3 since 2.4.1, 2.3 is +GPL2) and written in C. It used to include info that stuff generated by +bison had to be GPL. Berkeley YACC is public domain, and written in C. +There is also btyacc, based on the berkeley version, but with some +useful extras. btyacc version 3 (the version coming from my version of +Ubuntu) apparently no longer supports C, only C++. It's written in C +though. + +Let's see if flex and btyacc will do the trick, and output C. + +Might be best to have the LSL to Lua converter as a seperate executable. -- cgit v1.1