BUG: --version doesn't work


#1

When I try to display L’s version, I get the ‘%’ prompt, not the version string:

[lyderic@nuc ~]$ L --version
% 
% exit
[lyderic@nuc ~]$ 

I use the binary bundle found here:
http://www.little-lang.org/bin/little-lang-1.0-linux-x86_64.tar.gz

I get this behaviour on Ubuntu (15.10) and CentOS (7.2).

Thanks for looking at it.


#2

Yep, it’s broken. Looks like a detail was overlooked while
preparing the open-source release. Thanks for reporting.

You can get at the compiler version from the output of the
Lver() function:

void main()
{
	string	v = Lver();
	puts("The L version is ${v}");
}