Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repl and script #47

Merged
merged 1 commit into from Sep 12, 2016
Merged

Repl and script #47

merged 1 commit into from Sep 12, 2016

Conversation

technomancy
Copy link
Contributor

$ bin/l2l --help
Welcome to l2l.
Usage: l2l [<option> ...] <argument>
Options:
  -r / --repl          open a repl session
  -e / --eval FORM     evaluate and print a given FORM
  -l / --load FILE     load a given FILE
  -c / --compile FILE  print compiled lua for a given FILE
  -h / --help          print this message and exit
  -v / --version       print version information and exit

@technomancy technomancy changed the base branch from master to rewrite September 12, 2016 07:41
@technomancy
Copy link
Contributor Author

The repl supports partial input, but it bases it on the error message string to determine partial input: if(src_or_err:find("no bytes$")) This could be made more explicit somehow.

Printing of regular tables is still Lua's stupid opaque method: table: 0x10c8700 so we should add some pretty-printing at some point.

@meric meric merged commit 776bbcc into meric:rewrite Sep 12, 2016
@meric
Copy link
Owner

meric commented Sep 12, 2016

Wow awesome work on the executable. Clean code, polished, all in an afternoon.

@meric meric mentioned this pull request Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants