Jump to content

Create my own LUA compiler


dam034

Recommended Posts

  • 3 weeks later...

Lua does not compile to assembly (Except JIT), and knowing assembly is not a requirement.

You will have to study about compilers, which includes lexers, parsers, grammars, ASTs etc.

The answers here will be very helpful to you: https://stackoverflow.com/questions/1669/learning-to-write-a-compiler

Lua's syntax in extended BNF is given here: http://www.lua.org/manual/5.1/manual.html#8 (Last section on the page)

Edited by specahawk
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...