Permalink
Switch branches/tags
Nothing to show
Commits on Jul 3, 2012
  1. Emit a call to lua_settable() after pushing the key and value on the …

    Laura Savino committed Jul 3, 2012
    …table onto the stack
  2. Remove use of unary 'not' in input.lua until the parser can be fixed …

    Laura Savino committed Jul 3, 2012
    …to accommodate it
  3. Refactor Generator module to use monad transformers

    Laura Savino committed Jul 3, 2012
Commits on Jun 19, 2012
  1. Implemented code generation for table constructors

    Laura Savino committed Jun 19, 2012
  2. Added declarations for lua_createtable and lua_settable

    Laura Savino committed Jun 19, 2012
  3. Added parsing of table constructors, simplified Name parsing, and add…

    Laura Savino committed Jun 19, 2012
    …ed BNF comments to the existing parsers
  4. Add data types for table constructors

    Laura Savino committed Jun 19, 2012
  5. Implemented putExpression for StringLiterals

    Laura Savino committed Jun 19, 2012
  6. Declare lua_pushlstring function pointer; update lua input to test st…

    Laura Savino committed Jun 19, 2012
    …ring expression
  7. Add string expression support to Parser module

    Laura Savino committed Jun 19, 2012
Commits on Jun 12, 2012
  1. Added declaration for lua_pushnil()

    Laura Savino committed Jun 12, 2012
  2. Parse literal nil, true, and false

    Laura Savino committed Jun 12, 2012
  3. Handle arguments in function calls

    Laura Savino committed Jun 12, 2012
Commits on Jun 5, 2012
Commits on May 29, 2012
  1. Pull out all string constants into the header of the generated code, …

    jspahrsummers committed May 29, 2012
    …and then reference those constants in the body
  2. Put the header template after any constant strings from the parsed Lu…

    jspahrsummers committed May 29, 2012
    …a code, since the template includes the beginning of the definition for @main
  3. Create temporary file to separate header declarations from body code …

    jspahrsummers committed May 29, 2012
    …until compilation is finished
  4. Clarify the steps executed in the build_and_run script, and exit earl…

    jspahrsummers committed May 29, 2012
    …y after any errors occur
Commits on May 28, 2012
  1. In putExpression for NotExpressions, make sure to save and use the re…

    jspahrsummers committed May 28, 2012
    …sult state of the inner call to putExpression
  2. Changed GeneratorState to use record syntax, so we have simple access…

    jspahrsummers committed May 28, 2012
    …or functions for its data
  3. Refactored Generator module to carry around a GeneratorState (includi…

    jspahrsummers committed May 28, 2012
    …ng a variable counter and the file handle) within the IO monad
Commits on May 23, 2012
  1. Aligned Parser.expression and Parser.term to Lua syntax reference by …

    jspahrsummers committed May 23, 2012
    …renaming to exp and prefixexp, respectively
  2. Moved the writeTopLevelExpression function into the Generator module,…

    jspahrsummers committed May 23, 2012
    … renamed it to putTopLevelExpression, and moved getFileContents into a new IO module.