Search found 40 matches
- Fri Nov 26, 2021 5:55 pm
- Forum: Language Discussion
- Topic: Hello
- Replies: 9
- Views: 11702
Re: Hello
I just viewed ... you use "==" for if statement :shock: why is that .....pascal,C or mix ?? why simply is not just = While developing the expression parser last year I realized why 'mature' languages such as Pascal and C use different operators for assignment and comparison. Key is boolea...
- Fri Nov 26, 2021 3:47 pm
- Forum: Development
- Topic: Strings, strings and strings
- Replies: 3
- Views: 9806
Strings, strings and strings
Sharp BASIC supports three types of strings: variable length, which are null-terminated fixed length, which are not null-terminated constant strings Constant strings of course cannot be changed, but they can be assigned to fixed and variable length strings. However, fixed and variable length string...
- Fri Nov 26, 2021 10:36 am
- Forum: News
- Topic: What is SharpBASIC?
- Replies: 0
- Views: 17361
What is SharpBASIC?
Sharp BASIC is a new programming language that is currently in development. Here, BASIC means Beginners to Advanced Symbolic Instruction Code . The project started out as an experiment, to test a different approach, away from traditional compiler building concepts. The language has commonalities wi...
- Thu Nov 25, 2021 10:02 pm
- Forum: News
- Topic: SharpBASIC tops search results
- Replies: 0
- Views: 12058
SharpBASIC tops search results
We're happy to see that the Sharp BASIC forum is already the first hit of Bing's search results! The forum went online last Sunday (21 Nov 2021). That was just four days for Bing to catch up. Not bad! Yahoo and DuckDuckGo also picked it up. Google is very disappointing with no hit on the first five ...
- Tue Nov 23, 2021 6:30 pm
- Forum: Development
- Topic: Stage 66
- Replies: 4
- Views: 10388
Re: Stage 66
well on windoze i use EOL token which is CRLF then my interpreter recognize it as EndOfLine first it is not easier for user always type ";" on end of line when i use some C compilers to play with them i forget that one . so my opinion is NOT easier ,but your product your way...right ? ; :...
- Tue Nov 23, 2021 6:15 pm
- Forum: Language Discussion
- Topic: Hello
- Replies: 9
- Views: 11702
Re: Hello
Of course i understand i build few toy interpreters and never compiler ,assembly ..ouhhh i don't get it :o it is not easy work , even i am working (from time to time ) on my small interpreter i still not have arrays ..hmm i am in doubt how to add them ,i know ways but i am not sure what would be be...
- Tue Nov 23, 2021 12:58 pm
- Forum: Language Discussion
- Topic: Hello
- Replies: 9
- Views: 11702
Re: Hello
hello again :) So this one would be for Linux...that is fine well i am not Linux user very much but i like concept. With NASM installed on Windows, it shouldn't be difficult to port. But the library must support Windows system calls too. This is not difficult and will be implemented along with comp...
- Tue Nov 23, 2021 12:38 pm
- Forum: Development
- Topic: Stage 66
- Replies: 4
- Views: 10388
Re: Stage 66
The semicolon as a statement terminator serves two purposes. First: it makes it very clear where the statement ends, both for the programmer and the compiler. Second: it eliminates the use of a statement continuation character like the underscore in traditional BASIC which can make things really mes...
- Tue Nov 23, 2021 9:05 am
- Forum: Development
- Topic: Stage 66
- Replies: 4
- Views: 10388
Stage 66
There were some issues with initializing module/global string variables and local variables. This is because these two types of variables are stored differently. This has now been resolved and the following two code snippets give the correct output. module level string variables declared and initial...
- Sun Nov 21, 2021 6:05 pm
- Forum: Development
- Topic: Stage 65
- Replies: 0
- Views: 8906
Stage 65
The Sharp BASIC compiler is in its early stages and not yet ready for custom testing. Currently, string manipulation is being implemented and there is good news on this front: three string types are supported, constant and variable strings, which are null-terminated, and fixed length strings, which ...