#1✎ 150712Me21AdminSyntax HighlighterReceived for creating the code syntax highlighter on SBSOSP Contest 2 WinnerI won the second SmileBASIC Source OSP Contest!Programming ContestSecond YearMy account is over 2 years oldWebsiteI think people should realize that being terrible isn't a requirement for a BASIC dialect. It seems like most modern BASIC interpreters are focused on including features like GOTO, DATA, and weird syntax rules, rather than creating a language which is simple and easy to use.
SB is far better than average, but still has flaws (no array literals?!?), and the fact that it's only available on the 3DS prevents it from becoming very popular.
I don't like the name "12-BASIC", but of course I can't think of anything better. Oh well.
Anyway it's nowhere near finished yet.
Main features to implement:
-user defined functions
-proper variable declarations
Here's some documentation:
#2✎ 228spaceturtlesVideo GamesI like to play video games!HobbiesAvatar BlockI didn't change my avatar for 30 days.WebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthNice. Getting closer.
#3✎ 60seggiepantsIs it bad that my first thought was of https://www.xkcd.com/927/?
If you are going to add new features may I humbly suggest user defined types? Then you could do something like this:
X As Integer
Y As Integer
Dim position As Point
Position.x = 42
Position.y = 13
QB/QuickBasic could do that back in the day. Speaking of which I think there is the QB64 project at http://www.qb64.net/. No use reinventing the wheel.
I don't know what the current equivalent of the dragon book is . But I am not seeing any BNF on your github. I suspect you will need something like YACC/LEXX, Bison/Flex, ANTLR, or LLVM.
#4✎ 59ninjagnuCan you create a separate repo for this? You can enable pages on any repo, not just your github.io one.
#5✎ 150712Me21AdminSyntax HighlighterReceived for creating the code syntax highlighter on SBSOSP Contest 2 WinnerI won the second SmileBASIC Source OSP Contest!Programming ContestSecond YearMy account is over 2 years oldWebsite
Can you create a separate repo for this? You can enable pages on any repo, not just your github.io one.