- Created: 02 July 2016
We are reaching the end of the process to implement the BYOR (Bring Your Own Runtime) support and we are working on some of the more obscure things inside the compiler: implicit and explicit conversions and the related compiler options, such as /vo4 and /vo7.
If you would ask any normal person which number is bigger: -1 or any arbitrary positive number, then most people will say that -1 is smaller. Now ask the same thing to a computer and you may receive diferent and unexpected answers. Consider the following example program:
FUNCTION Start AS VOID
LOCAL dwValue AS DWORD
LOCAL liValue AS LONG
liValue := -1
dwValue := 1
? liValue < dwValue
Compile this code in Vulcan and it will compile without warnings, but the result will be that liValue (-1) is NOT smaller than dwValue (1).
- Created: 21 June 2016
We are proud to inform you that we have released XSharp Beta 5 today to our FOX subscribers.
It has taken a little longer than expected / hoped, but it is full of new features that make the product very compatible with VO and Vulcan.
Next to the obvious bug fixes there are lots of new features in this build, most of which are for the VO/Vulcan dialect only
- Created: 29 May 2016
It has been a few weeks, so it is time again for a progress report.
We have worked on the legal side of distributing free software. In the top menu from this website you can now find an option that describes under which licenses we distribute our software. We have decided to use a couple of different licenses.
- A license that describes how you can use the compiled version of X# and which components you can include with your product. This is the XSharp Open Software License Agreement.
- A second license, the Apache Open License, that describes what you can do with the source code to our runtime and tools
- A third license, The XSharp Compiler Source Code License, that describes what our FOX subscribers can do with the source code for our compiler.
Please look at the separate page on this website for more details.
The XSharp source code is available on Github. Please read this FAQ article on where you can find it and how you can contribute.
- Created: 08 May 2016
We are proud that XSharp Beta 4 is available for download for our FOX subscribers.
On top of the changes that we already listed in a news message last week, we have now also added support for some additional VO and Vulcan compatibility topics:
- BEGIN SEQUENCE... RECOVER USING ... END
- We have also added support for the /VO10 compiler option (Compatible IIF expressions, where the TRUE and FALSE expressions are of a different type).
- And finally we restored the behavior that the call to the parent constructor no longer has to be the first line inside a constructor (for VO and Vulcan dialect only). That way you will be able to create Clipper calling convention constructors and set default values for missing parameters before calling the Super constructor. Or call a PreInit() method before the super constructor.
As said: this build is for download for FOX subscribers only.
The next public beta is planned for the second half of June 2016, and should contain the full VO and Vulcan compatibility support as well as some enhancements inside Visual Studio and our first XSharp Runtime.
We would finally like to remind you that the introductionary price for the FOX program ends this month.
Stay tuned for more news!
- Created: 30 April 2016
The conference in Cologne is now more than a week behind us and we have all gone back to the usual work.
In the last week many people, that did not attend the conference, have approached us to hear the details about our future plans.
That is why we have decided to upload PDF versions of Robert's presentations to the website.
Goto the Downloads / General section to find them
We have also picked up the work for the Spring build that contains the full Bring Your Own Runtime support. We have now implemented:
- Clipper calling convention
- /vo5 compiler option (to set Clipper calling convention for parameter-less methods)
- Support for the implicit functions PCOUNT, _GETMPARAM and _GETFPARAM
- Support for String2Psz() and Cast2Psz()
At the same time we have also added a couple of new features to the language (sorry we could not resist it..)
- Lambda expressions with multiple expressions
- Lambda expressions with multiple statements
- The nameof operator
- Anonymous classes (useful when doing Linq)
- Using block now (optionally) contains a variable declaration
And also some changes in our Visual Studio integration
- Support for designer.prg
- Fixed some problems with opening the source from the error list
- Visual Studio was always treating "warnings as errors" regardless of the setting in the project properties. This has been fixed.
Please give us a week or so to wrap this up, create some examples and to release Beta 4 (for FOX subscribers only).
- Created: 23 April 2016
We have just returned from a very succesful conference in Cologne, called XBase.Future.
The conference was very well organized and we would like to thank the organization again for all their work. Maike, Michael, Meinhard and the other team members from Fischer and Consults, you have done a great job!
We can tell you many stories about the conference. But for us the change in atmosphere compared to last years conference was the most important thing. Last year many people were not happy with the lack of progress in Vulcan.NET and were seriously considering alternatives outside of the XBase world for their future development.
Our new XBase language has changed all of this. In the closing session one of the attendees perfectly said: "X# has brought us new hope".
- Created: 19 April 2016
We are proud that we can announce that today, at the first day of the XBase.Future conference, we have also released XSharp Beta 3.
This new Beta is full of new things, both in the compiler as well in the Visual Studio integration.
The new beta will also be included in the conference material for the attendees of the XBase.Future conference.
- Created: 17 April 2016
With only 2 days left until the XBase.Future conference in Cologne, things are becoming a little hectic over here.Fabrice has traveled from the sunny France to a cold Netherlands, and together we have prepared the new Beta 3 that will be presented and used at the conference. This new beta with comes with many great new features. Some hightlights of this new build:
Visual Studio Integration
- Support for the Windows Forms Editor
- Support for the WPF Editor
- Support for selecting the dialect (see compiler below)
- Enhanced project property pages with editors for paths and pre and post build steps
- There is now dialect support in the compiler. The previus beta only supported the Core dialect. Now we also support the VO/Vulcan dialect.
- We have started work on the Bring Your Own Runtime support for Vulcan. See separate heading below.
- Improved debugging output
- New macros (__ENTITY__ and __SIG__ ) for the preprocessor
- New PARAMS keyword for parameter list of method/function
- Slen() and AltD() are now supported by the compiler
- Added support for the DYNAMIC type
Bring Your Own Runtime
- XBase type names are resolved properly (ARRAY, DATE, SYMBOL, USUAL etc)
- Literal values are now resolved properly (ARRAY, DATE, SYMBOL)
- NULL_ literals are resolved properly (NULL_STRING follows the /vo2 compiler option, NULL_DATE, NULL_SYMBOL)
- Calling methods with Clipper calling convention works as expected.
- Methods/Functions without return type are seen as methods that return a USUAL
- If a method/function contains typed and untyped parameters then the untyped parameters are seen as USUAL parameters
- The ? command will call AsString() on the arguments