lua-users home
lua-l archive

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


O.o apparently my `ll` command I used for listing bytecode I put to `-l -l` and it prints out something different. The version in the document is correct.

On Sun, Dec 4, 2016 at 4:03 PM Charles Heywood <vandor2012@gmail.com> wrote:
https://github.com/dibyendumajumdar/ravi/blob/master/readthedocs/lua_bytecode_reference.rst#more-examples

The example that has `x = function() y() end` says that `y` is the constant the function is assigned to. This is incorrect; it should be `x`.

On Sun, Dec 4, 2016 at 3:51 PM Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
On 4 December 2016 at 21:46, Charles Heywood <vandor2012@gmail.com> wrote:
> I have yet to read it, but this is definitely going to be a great resource
> for me when working on my FusionScript custom VM and compiler to that VM.
> Thanks for writing this!
>
>> I previously reported that I was working to bring the the excellent 'A
>> No-Frills Introduction to Lua 5.1 VM Instructions' by Kein-Hong Man up
>> to date for Lua 5.3. I did some updates recently adding details of a
>> few more bytecodes. Please let me know if you spot errors in the
>> document.
>>

Hi, credit really goes to Kein-Hong Man who did such a marvellous job
documenting Lua 5.1 bytecodes.

Regards

--

--