Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    GIF shows where to locate </> in the thread and or post editor toolbar.
    To learn more about how to use our BBCode feature, review our "How to post your code into threads" here.

    Thank you, Code Forum.

BazzBasic

EkBass

Silver Coder
icon.webp BazzBasic originally started as a node.js project. Node was fast and efficient enough, but its graphical side was mostly a dump-like horror.

I started from scratch and did this with FreeBasic. But even that has its problems now.
It has not been developed for a couple of years and at least on the Win 11 platform the graphical side was painfully slow again.

So .NET10 and C# then finally.



Unlike many programming languages, BazzBasic does not aim to be the most powerful or versatile tool.
It is also not a clone or a remake of any previous BASIC programming language.

It is intended to be easy, fun, and provide those small but significant moments of success that early BASIC programming languages offered decades ago.
But with a slightly more modern twist.

Today I got v.0.6 released and I thought it is time to show it here too.

Homepage: BazzBasic
Source: GitHub - EkBass/BazzBasic: BASIC Interpreter for .NET10
Manual: BazzBasic Manual

Code:
' FizzBuzz
' BazzBasic version. [email protected]
' https://github.com/EkBass/BazzBasic


FOR i$ = 1 TO 100
    IF i$ % 15 = 0 THEN
        PRINT "FizzBuzz"
    ELSEIF i$ % 3 = 0 THEN
        PRINT "Fizz"
    ELSEIF i$ % 5 = 0 THEN
        PRINT "Buzz"
    ELSE
        PRINT i$
    END IF
NEXT
 
Version 0.7 is now released.

Main issues: Support for LINE INPUT and pre-compiled libraries.

More at: github.com/EkBass/BazzBasic/discussions/7
 
BazzBasic 0.9 Released! 🎉

BazzBasic 0.9 is now available as binary and source.

What's New in 0.9

The latest update brings some additions aimed for game developers.

New Math & Utility Functions:
  • LERP(start, end, t) — Linear interpolation between two values
  • DISTANCE() — Calculate 2D or 3D distances with a single call
  • CLAMP(n, min, max) — Keep values within bounds without verbose IF chains
  • BETWEEN(value, min, max) — Quick range checking that returns TRUE/FALSE
  • EULER — The mathematical constant e ≈ 2.718281828459045
  • TAU and QPI — Convenient constants for 2π and π/4

Graphics Enhancement:
  • VSYNC(TRUE/FALSE) — Control vertical sync for smooth rendering or uncapped frame rates

Roadmap to 1.0

The next milestone will introduce some interesting things:

HTTP Support — Make GET and POST requests directly from BazzBasic. Fetch data from APIs, download files, or send data to web services.

Sprite Sheets — LOADSHEET(filename, width, height) will slice sprite sheet images into individual frames stored in an array, making 2D game animation easier.

Under Consideration:
  • Joystick/gamepad support for game input
  • Native JSON and XML parsing to and from arrays

Get BazzBasic
 

Latest posts

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom