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
#18
Hello.

Now I want to clarify that this is not a re-creation of the SmallBasic environment as it is now, but a compiler with a library that converts SmallBasic code to C# and compiles it.

SBOE.dll supports and uses all appropriate data types, string, int, boolean and so on.

If the SmallBasic code to be compiled does not have a separately defined variable type, the compiler marks it as a dynamic variable.

[sb-code]
'This is ok.
a = 1
a = 2.3
a = "text"
[/sb-code]

[C# code]
dynamic a;
a = 1;
a = 2.3;
a = "text";
[/c#-code]

[sb-code]
' But you can also do this.
int a
a = 1
a = "This causes error"
[/sb-code]

[C# code]
int a;
a = 1;
a = "This causes error"; // As expected, this causes error.
[/C#-code]

I fully understand that those who have used SmallBasic for years would want an exact replica of the language itself, the editor, extensions and so on, but that is not the goal.

Some things are left out completely, some things change and some things come as new additions.
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: 4 Guest(s)