Davis

Results 30 comments of Davis

As a bit of a workaround (assuming you don't have the name `BROKEN` in any of your file names, you could just grep for them like so: ```sh blc website...

Personally, I would prefer the table to not be present if it has no content. In my opinion, it's easier to do ```lua for i, v in pairs( tab or...

Having the table present but empty is kind of problematic for me, though. See my project [here](https://github.com/davisdude/vim-love-docs/blob/67f16817e4529b06a7d7606fda67d727b43eec21/src/doc/main.lua#L175). Basically, if, for instance, the types table is empty, it shouldn't have a...

@hahawoo You're right, I don't need to change anything because the generation function is recursive, so even objects which won't have a `types` attribute, such as a function, are still...

I'm no longer using Windows, so, unfortunately, I am unable to get that information for you.

Great! Thanks for the interest! If objects are used, I think they would have to be accepted as arguments by all functions. There might be some conflict of when when...

Metatables definitely seem like the way to go. What I was doing (above) doesn't really seem suited for this.

Well, the current vector implementation isn't really an object, so it's actually going more for "duck typing" on that one.

Yeah, due to the way I implemented some functions it was impossible to make it so that files were separated (i.e polygon.lua, etc.) without some weirdness occurring.

I think it needs to be `Lua`, not `lua`