XSharp.Core vs. XSharp.RT ??

This forum is meant for questions and discussions about the X# language and tools
Post Reply
Anonymous

XSharp.Core vs. XSharp.RT ??

Post by Anonymous »

What is the matter that separates the Functions in XSharo.Core versus the ones that are in XSharp.RT ??


2020-02-12 18_54_49-.png
2020-02-12 18_54_49-.png (46.56 KiB) Viewed 249 times
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

XSharp.Core vs. XSharp.RT ??

Post by wriedmann »

Hi Matt,
XSharp.Core contains functions that are strong typed and don't have any reference to xBase datatypes, like date and array, and should be compiled in the Core dialect.
XSharp.RT contains the xBase datatypes and all the functions that work on these datatypes and permit parameter skipping and all the other xBase specific functions.
In both of these libraries there should be all these functions and classes that are common to all xBase dialects like VO, VFP, Xbase++ and so forth.
And then there are the dialect specific runtimes: XSharp.VFP and XSharp.VO, containing the dialect specific implementations.
The separation may create confusion, but has much sense because you can use the Core library even from C# or X# Core dialect, and the RT is the base of all the common xBase functionality. So there should be no duplicate code that is hard to maintain.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply