lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

2012/6/6 Paul K <>:
> Yes, yet another serializer and pretty printer. I carefully studied
> existing implementations and described my rationale and examples here:

Very nice.  I've been using Lua for 18 months but Serpent taught me
something I never quite realized before: a "long comment" can
be shorter than a "short comment".

--[[ Initialize ]]        x=2
--[[ Newton iteration ]]  repeat local y=x; x=(x+2/x)/2
--[[ Convergence test ]]  until x>=y

It runs under Lua 5.2 but does not treat "goto" as a keyword.