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

require(), some parser things #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ggcrunchy
Copy link

Hi.

I did some stuff to make some of my modules cooperate. In main.js, I added a packages table to get the behavior closer to stock Lua, e.g. it won't reload after re-require()'s. Not 100% accurate (other package details), but probably close enough for most uses.

I addressed a few things in the parser / library, too. tostring() returns unique keys per-function and per-table, pairs() should list booleans (a key was off), and functions should be usable as keys, now (probably wasn't necessary to hijack the bool table...). (I've sent a parallel request along to @mherkender.)

  • Steve

@ghoulsblade
Copy link
Owner

hi! sounds good, i'll test this weekend, bit busy at work currently. thanks !

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.

2 participants