lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > _VERSION uses a format (most common) of name followed by version; eg.
> 'Lua
> > 5.2', so any utility function should first grab the last part (after
> the
> > last space) of the string and then perform comparisons.
> 
> Hmm. I don't think semver is the right place to do that. It's supposed
> to
> be an implementation of semver.org. Adding that functionality would
> make
> it lose its "focus".

A matter of opinion of course, but to me it's logical that if you bring a
library to a language that the intend should be to bridge the two, bringing
the power of semver, but respect the legacy of Lua as well. Your reason not
to add it is valid too.

Will probably fork :-)