This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
rainmitchell's profile picture

combiner

Started by rainmitchell, 14 December 2016 - 05:36 PM
rainmitchell #1
Posted 14 December 2016 - 06:36 PM
Hey there I'm new to computercraft (not to lua) and I wanted to share a small program I wrote.
combiner is a preprocessor. It allows you to import other files.

Right now it is really, really simple, it only imports files and compiles the lua down to an executable bytecode file

pastebin: http://pastebin.com/QQESnFft
Pyuu #2
Posted 19 December 2016 - 03:55 AM
The

shell.run ("lexer")
is confusing. What does it do?
AlexDevs #3
Posted 27 December 2016 - 10:42 PM
The

shell.run ("lexer")
is confusing. What does it do?
Asking the real questions
CrazedProgrammer #4
Posted 27 December 2016 - 10:57 PM
The

shell.run ("lexer")
is confusing. What does it do?
Asking the real questions
Being the real contribution to the conversation


Jokes aside, it's probably a debug program or something is missing, because there is no reference to a "lexer" program anywhere else in the code.
Edited on 27 December 2016 - 09:58 PM