Version 4.1.6
A new version of CLAIRE 4 is available on GitHub.
Small bug fixes include:
compiling code with inside errors that need to be caught, with compiler.safety = 2 or 3
some type cheking for list addition was missing
printf(" ... ~F% and ~F2") bugs fixed (~F% was not compiled properly + a pattern ending with ~F2 was producing an error)
CLAIRE 4.1 is progressing with the development of CCEM.
Version 4.1.4
A new version of CLAIRE 4 is available on GitHub.
This is the first version that is simultaneously developed and tested on MacOS, Windows and Linux.
I now use an AWS Ubuntu instance to make sure that everything works ... and frankly it did not ! Apologies to all readers who have downloaded the GiHub code to see lots of installation/compilation errors.
Small bug fixes include:
adding a new line before exiting CLAIRE
Methods must have less than 10 parameters, this is now checked (verus getting a Go runtime error)
lambdas are better compiled
Version 4.1.2
A new version of CLAIRE 4 is available on GitHub.
It contains a number of bug fixes. As CLAIRE4 is the platform language for the CCEM/GWDG project, CLAIRE 4 will improve as the project moves along.
CLAIRE 4.1.2 also comes with the "beta version" of the CLAIRE-to-Javascript compiler. This is a side project, that will mature over time. It is inspired from the JAVA "'Diet Claire" compiler developped by François-Xavier Josset.
CLAIRE 4.1.2 comes with two new features (you may download the new updated documentation):
The membership operator is now € (but the older form % still works for upward compability).
The € (euro) character is the closest approximation of the mathematical sign for membership
Extended comments have been extended to conditional comment. This is very convenient to make your debugging aspects stand out with your IDE.
A new option -e "<expression>" has been added to the CLAIRE executable, such as in the following example:
claire -m ... -e "jcompile(gw0)"
Do not forget to upgrade your Go compiler ...
The 2023 benchmarks are available on this Web site.
The upgrade to Go 1.21.5 has significantly improved the results (up to 30% improvement), as well as the relative ranking of CLAIRE versus other programming languages. This confirms our strategy of selecting Go as our underlying language (benefiting from Google's commitment with Go).
Do not miss our new column "Cool Samples" in the "Getting Started" section
This web site now includes a "column" of CLAIRE programs that solve simple problems, and compares them, for the sake of curiosity, with what generative AI such as ChatGPT would say on these problems.
Version 4.1.0 is available at last (October 22nd, 2023)
This new version is now stable enough to reach the beta status, since six projects have been ported (and compiled to Go) successfully.
You may download this new version on the GitHub page: https://github.com/ycaseau/CLAIRE4
See our "getting started" section on this web site to get the list of CLAIRE sample projets that are public on GitHub.
note: From now on, odd version number will be used internally and all public version will be even numbered.
Interpreter Download !
You may now simply download the claire interpreter without any installation process (hence without requiring admin privilege on your laptop)
Visit the GitHub page: https://github.com/ycaseau/CLAIRE4
and go to the "interpreter" folder. More info on this page
Version 4.0.7
Version 4.0.7 will be released this month of January.
Two previous libraries have been ported from CLAIRE 3.5, which increases the test coverage.
Version 4.0.6
The current version is CLAIRE 4.0.6, which was released in June 2022.
This is still a prototype.
Get more info about CLAIRE 4 on our page: https://www.facebook.com/claireprogramming