NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
EndBASIC 0.14: Are we multimedia yet? (endbasic.dev)
pjmlp 1 days ago [-]
Always nice having an BASIC update.

> For extra trivia, note that the convention in Visual Basic is to use CamelCase.

This actually traces back to other BASIC dialects already in MS-DOS, I can tell this was already the common convention on Turbo BASIC, and QuickBASIC.

There were also tools that would format to the desired way, long before go fmt became a thing.

anta40 9 hours ago [-]
If you like QuickBASIC, perhaps FreeBASIC is also an interesting choice.

For many years, it practically only supports Windows, Linux, and DOS. Now add macOS into the list: https://deb.fbxl.net/macos/

bitwize 12 hours ago [-]
The IDEs would format the desired way as soon as you cursored off the line in some cases. This had benefits and drawbacks: it would actually parse the line, so if there was a syntax error, you had to dismiss the dialog and fix it before you could move anywhere. Kind of a pain when you're roughing out code.

Out of modern IDEs for more conventional languages, the one that comes the closest to the behavior I want in this regard is Emacs, which is one reason I've stuck with it lo these 30 years.

Daunk 6 hours ago [-]
https://blitzmax.org is always going to be my preferred BASIC.
ChicagoDave 3 days ago [-]
This is very cool, though I'd want to see typed FUNCTION blocks.
jmmv 3 days ago [-]
What do you mean? FUNCTIONs are supported, and their arguments and return values are strongly typed.
VincePlatt 7 hours ago [-]
Very neat implementation! I freaking love how nice Rust makes this!

Any plans to support structures in the language? I know that's not a typical Basic feature, but it would be awesome. Also, be a rebel: add block comments.

jmmv 5 hours ago [-]
Yeah, structs (records) is something I've been wanting to add and that became reasonably easy with the full rewrite of the compiler I did in 0.13. Probably in the next update!
ChicagoDave 3 days ago [-]
Sorry I missed it. I was expecting an As clause but conflating VB is probably not what is wanted.
pkphilip 12 hours ago [-]
So a few questions: 1. Does this support threading? 2. Can I develop my website using this? 3. Can I develop a Claude competitor using this?

Much thanks!

sph 2 days ago [-]
The demo does indeed sound like BASIC.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 18:01:29 GMT+0000 (Coordinated Universal Time) with Vercel.