On Tue, Sep 4, 2012 at 9:05 PM, Marco Patzer
<homerow@lavabit.com> wrote:
On 2012-09-04 Herbert Voss <Herbert.Voss@FU-Berlin.DE> wrote:
Hi Herbert,
> > \starttext
> > \startluacode
> > if true then;
> > context("true")
> > else;
> > context("false")
> > end
> > \stopluacode
> > \stoptext
>
> that is no Lua syntax
if true then;
print("true")
else;
print("false")
end
This snippet fed into a standalone Lua interpreter prints “true” on
the terminal.
Not in my lua interpreter: saving the snippet into test.lua
$>lua test.lua
gives
lua: test.lua:1: unexpected symbol near ';'
--