Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve error handling in lua interpreter. | Robert Vollmert | 2009-11-03 | 1 | -4/+1 |
| | | | | | | | | | lua_pcall is now passing 0 for errfunc so the plain error message comes out. Also, remove the call to lua_gc on error since that was causing further errors. This is probably not the right way to do things but hopefully an improvement for now. | ||||
* | Add whitespace fixes. | David Lawrence Ramsey | 2009-10-31 | 1 | -2/+2 |
| | |||||
* | Initialize __echo in lua interpreter. | Robert Vollmert | 2009-10-30 | 1 | -2/+1 |
| | |||||
* | Fix handling of empty input lines. | Robert Vollmert | 2009-10-29 | 1 | -3/+3 |
| | |||||
* | Luaterp: introductory comments and renaming. | Robert Vollmert | 2009-10-28 | 1 | -2/+8 |
| | | | | | | | | To use, set "delay_message_clear = true" and call wizard mode Ctrl+T. To echo return values from statements, prefix them with '=' and define the global __echo. (__echo = crawl.mpr will work for single return values.) | ||||
* | Convert to cancelable_get_line_autohist. | Robert Vollmert | 2009-10-28 | 1 | -3/+4 |
| | |||||
* | A lot more functional, now, though still deficient. | Robert Vollmert | 2009-10-28 | 1 | -12/+107 |
| | |||||
* | Partial lua interpreter. | Robert Vollmert | 2009-10-28 | 1 | -0/+33 |