News for hackers. Stuff that matters.
Re:Berry is a ultra-lightweight dynamically typed embedded s... by vitiral on Saturday October 07, 2023 @03:34PM (#37804801)
I made a prototype that works in 3000 lines of C

github.com/civboot/fngi

It was super fun. I'm going to be going in a different direction (Lua implemented in Lua, with Lua-library assemblers and assembly type system), but it's certainly very possible

Re:Berry is a ultra-lightweight dynamically typed embedded s... by IshKebab on Sunday October 08, 2023 @04:28AM (#37808789)
Nice! Pretty interesting syntax. Not sure about / for comments or the function argument syntax but you have a solid point about not using " or ' for strings!
Re:Berry is a ultra-lightweight dynamically typed embedded s... by vitiral on Sunday October 08, 2023 @09:58AM (#37810492)
Thanks :)

FYI the real power of / for comments is /token to comment out one token. So useful to add a bit of doc sugar when calling something

    call(x\sugar)

    call(x/*sugar*/)
Also

    Thing \(inline comments) other