From nick at rockstarvancouver.com Wed Mar 3 20:10:55 2004 From: nick at rockstarvancouver.com (Nick Trout) Date: Wed, 3 Mar 2004 17:10:55 -0800 Subject: [q2x] Scripting article Message-ID: <911F8C8EB7A8084AAEDD55CEDC54D8F881F90B@iggy.rockstarvancouver.com> How did you get on with that? > -----Original Message----- > From: Brian Hook [mailto:hook_l at pyrogon.com] > Sent: Friday, February 20, 2004 3:44 PM > To: q2x at icculus.org > Subject: RE: [q2x] Scripting article > > > Have you looked at LuaPlus? > > Hadn't even heard of it until now. Wow, very cool (assuming it works > =) ). > > Brian > From hook_l at pyrogon.com Wed Mar 3 21:14:40 2004 From: hook_l at pyrogon.com (Brian Hook) Date: Wed, 3 Mar 2004 21:14:40 -0500 Subject: [q2x] Scripting article In-Reply-To: <911F8C8EB7A8084AAEDD55CEDC54D8F881F90B@iggy.rockstarvancouver.com> Message-ID: <200433211440.588150@GATEWAY> It seemed like too big a pain in the ass, so I didn't bother =( I have an idea for a remote debugger however, but it would take a LOT of time to develop (probably a month or so), so I don't think I could really do it without trying to make it some kind of commercial thing, but I have a feeling many devs would balk at a commercial Lua debugger =/ Brian From nick at rockstarvancouver.com Wed Mar 3 21:32:58 2004 From: nick at rockstarvancouver.com (Nick Trout) Date: Wed, 3 Mar 2004 18:32:58 -0800 Subject: [q2x] Scripting article Message-ID: <911F8C8EB7A8084AAEDD55CEDC54D8F851FCC3@iggy.rockstarvancouver.com> > It seemed like too big a pain in the ass, so I didn't bother =( Oh, shame. > I have an idea for a remote debugger however, but it would take a LOT > of time to develop (probably a month or so), so I don't think I could > really do it without trying to make it some kind of commercial thing, > but I have a feeling many devs would balk at a commercial Lua debugger > =/ I tried to make that VisLua thing a plugin so you could integrate it optionally, ie. The comms side, not the GUI. GUI would have been wxWindows (now wxWidgets, damn M$!) because of X-platform support. On lua irc. Nick From nick at rockstarvancouver.com Mon Mar 15 13:23:07 2004 From: nick at rockstarvancouver.com (Nick Trout) Date: Mon, 15 Mar 2004 10:23:07 -0800 Subject: Lua Lint... Message-ID: <911F8C8EB7A8084AAEDD55CEDC54D8F881F9B4@iggy.rockstarvancouver.com> I got tired of typos. http://place.org/~nop/lualint-0.0.tar.gz Jay ---snip--- Usage: lualint [-r|-s] filename.lua [ [-r|-s] [filename.lua] ...] lualint performs static analysis of Lua source code's usage of global variables.. It uses luac's bytecode listing. It reports all accesses to undeclared global variables, which catches many typing errors in variable names. For example: local really_aborting local function abort() os.exit(1) end if not os.getenv("HOME") then realy_aborting = true abortt() end reports: /tmp/example.lua:4: *** global SET of realy_aborting /tmp/example.lua:5: global get of abortt