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
Replace Small Basic?
#1
After all discussion I think i should create SharpBasic basic version of CSharp with small basic syntax and library but much more stuff.
So I set this my current goal but I need help of you people on this forum for every step.
So first should we create it on .Net core (8,9,10) or .net framework 4.8

EDIT BY litdev

Split from https://litdev.uk/mybb/showthread.php?ti...16#pid2316 since this is a big new topic
ZS
Reply
#2
Hello, Z-S.

I'm sorry, but I'm a ordinary user. I can't answer you questions like that.
I can only wish good luck to everyone who doesn't forget about newbies in programming and ordinary users.

Good luck to you.  Cool
[-] The following 2 users Like AbsoluteBeginner's post:
  • sm4llprogrammer2008, z-s
Reply
#3
Before even thinking out writing any code for this a LOT of thinking needs to be done I think.

First would be some basic questions - principally WHAT IS THE OBJECTIVE

1] Who is the target users, do you know what they want?
2] Will it be compatible with existing Small Basic, this is a biggie?
3] Understand fully what the existing compiler does and how Primitive and Arrays currently work - always know what there is and why it is like it is before inventing something new
4] Does this mean a new compiler or standard library, is this a compiler or transcriber to another language?

1] Simple to start but powerful (hard to be both), graduating - simple unintimidating UI - few keywords, but can quickly create interesting programs - good documentation and examples.

2] Show me any other language that can do the following - I believe there is zero chance of reliably transcribing existing SB programs to another language, you would always be chasing edge cases.

Code:
ball = Shapes.AddEllipse(50,50)
TextWindow.WriteLine(ball)
data = "Yes=1;No=0;"
data[ball] = "First"
data["Next"] = "Ellipse2"
ball = Shapes.AddEllipse(50,50)
Shapes.Move(data["Next"],100,100)
TextWindow.WriteLine(data)

No-one in their right mind would allow a programming language do what the code above can, as soon as you limit this it is not compatible.  It is the weird flexibility (almost no syntax rules) that allows the code above and to allow that it requires it to be slow.  But it is the lack of complex syntax rules that make it easy for total beginners.  So WHAT IS THE OBJECTIVE?
[-] The following 1 user Likes litdev's post:
  • AbsoluteBeginner
Reply
#4
I mean to develop a transcribe language which is going to transpile to CSharp and I can make a sb std library with a syntax converter
ZS
Reply
#5
If it is a simplified form of C# with type declarations, then it should be a able to use any .Net library directly with no need for std library.

If it doesn't have type declarations, then it will need the equivalent of SB Primitive.
Reply
#6
Make it on .NET Framework 4.8 for SB compat or maybe use .NET Core for cross-platform (Windows, macOS, Linux, but mobile is an exception and GUI across OSes would need .NET MAUI)
Reply
#7
And maui is approx 1gb so we can never get cross platform sb
ZS
Reply
#8
MAUI should be fine on most computers since 50% of people who might download our new SB might have atleast 10GB+ of space
Reply
#9
I was learning zig and see it is only 200mb compiler with uncountable platform support.
It's quite hard so I am trying to make a simplified version of it.
I was also planning to make a framework named crescent in which I will add this Lang.
But currently I am struggling for a better unique name for my org that wiil host this projects.
Damm how this bill gates and Larry page etc found so much interesting names like Microsoft Google
Anyone here with a good name suggestion please
ZS
Reply
#10
(06-22-2025, 05:17 PM)z-s Wrote: ...
But currently I am struggling for a better unique name for my org that wiil host this projects.
Damm how this bill gates and Larry page etc found so much interesting names like Microsoft Google
Anyone here with a good name suggestion please

In this case, it is now fashionable to ask AI for advice. It should have a lot of experience in "content generation".  Big Grin
[-] The following 2 users Like AbsoluteBeginner's post:
  • sm4llprogrammer2008, z-s
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)