We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SmallBasic Open Edition
#3
Thread moved here as suggested.

Nice work Kristian,

This is my understanding of what you are doing.

So far what you have on GitHub looks like a reworking in C# of most of the standard objects (effectiively SmallBasicLibrary.dll written without reference to Primitive types).  You also suggest you are mid way through writing a syntax converter between a Small Basic (like) syntax and C#.

I would suggest that it would be a good idea to make the language converter 100% compatible with standard Small Basic if possible - there is just such a large backlog of Small Basic programs and it would be fantastic to progress users to C# using this resource.  For example I feel this is one unfortunate issue that sVB has - it is similar but not compatible with original Small Basic syntax - it would have been great to extend the language (not change it); this also applies to the various other online SB variants.  

One big hurdle I see with migration to C# from SB is the daunting complexity of Visual Studio (and to a slightly lesser extent SharpDevelop) - some way to ease this pain would be good.  What kind of interface to envisage for your program - it could even be a plugin for VS, VS Code, SB-Prime.

If you don't want to make a direct clone of SB, but extend its capabilities, then I would still consider making it 100% backwards compatible with extra features.  If you do fancy writing a direct clone of SB, then perhaps you could make it run on linux and Mac - this is certainly a missing feature now - quite a lot of work, but doable with .Net core.  Not being able to use existing extensions has always detered me from this!

I assume you know that any compiled exe of Small Basic program can be converted to C# using .Net reflection tools fairly easily.  Therefore, it would be good to consider how your work would complement this capability - I assume using C# without the Primitive types.  Perhaps showing the C# equivalent to SB code alongside the SB code in an interface.

I may be wrong and it would be good to get other input about the biggest challenge programmers find migrating from SB to C#.

In summary, I would try to get a clear plan of what you would like the final version to do, then identify the challenges (stuff you are not sure how to do) and work on these.  This would influence the code you write - for example static dynamic types, arrays, lists, maps etc.

Anyway, great work so far and I hope that we can help Small Basic users migrate to C# once they have a good grasp of Small Basic.
Reply


Messages In This Thread
SmallBasic Open Edition - by KristianVirtanen - 10-13-2024, 04:41 PM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-13-2024, 08:55 PM
RE: SmallBasic Open Edition - by litdev - 10-14-2024, 08:35 AM
RE: SmallBasic Open Edition - by z-s - 10-14-2024, 09:02 AM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-14-2024, 10:59 AM
RE: SmallBasic Open Edition - by z-s - 10-14-2024, 04:39 PM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-14-2024, 05:57 PM
RE: SmallBasic Open Edition - by Scout - 10-15-2024, 09:11 AM
RE: SmallBasic Open Edition - by litdev - 10-15-2024, 12:46 PM
RE: SmallBasic Open Edition - by Scout - 10-15-2024, 03:44 PM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-15-2024, 07:27 PM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-18-2024, 08:41 AM
RE: SmallBasic Open Edition - by litdev - 10-18-2024, 12:21 PM
RE: SmallBasic Open Edition - by jrmrhrb00 - 10-18-2024, 03:52 PM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-18-2024, 08:13 PM
RE: SmallBasic Open Edition - by z-s - 10-19-2024, 02:28 AM
RE: SmallBasic Open Edition - by litdev - 10-19-2024, 10:49 AM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-19-2024, 12:53 PM
RE: SmallBasic Open Edition - by z-s - 10-19-2024, 03:47 PM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-20-2024, 08:59 AM
RE: SmallBasic Open Edition - by KristianVirtanen - 10-25-2024, 08:54 PM
RE: SmallBasic Open Edition - by KristianVirtanen - 11-05-2024, 06:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)