BUG: --version doesn't work

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:

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

Thanks for looking at it.

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}");
1 Like