Pretty interesting. I'm a professional user of Lua, and while I love it, I really get frustrated at a lot of aspects of it, especially how loose the typing is. I've long wished there were more strongly typed alternatives, but just nothing compares to the performance, stability, and quality of documentation of Lua. I'm not sure how I would embed this in a non-Zig project, though.
Bog – small, strongly typed, embeddable language
31–40 of 55 posts
Re: Bog – small, strongly typed, embeddable language
#32Love how this language is explained with code only.
Is it just me or is that a terrible “hello world”? I get that they’re trying to illustrate a few features but the whole point of hello world is that it is the absolute most simple program. Why put the string world into a variable named world just to show that you can insert a variable into a string? It looks so confusing.
Re: Bog – small, strongly typed, embeddable language
#33Is it my imagination or is the most embedded language in the world C# these days? Which doesn’t really look anything like a classic language designed for embedding.
Re: Bog – small, strongly typed, embeddable language
#34Re: Bog – small, strongly typed, embeddable language
#35Love how this language is explained with code only.
Is it just me or is that a terrible “hello world”? I get that they’re trying to illustrate a few features but the whole point of hello world is that it is the absolute most simple program. Why put the string world into a variable named world just to show that you can insert a variable into a string? It looks so confusing.
Re: Bog – small, strongly typed, embeddable language
#36Earlier quoted context omitted.
Is it just me or is that a terrible “hello world”? I get that they’re trying to illustrate a few features but the whole point of hello world is that it is the absolute most simple program. Why put the string world into a variable named world just to show that you can insert a variable into a string? It looks so confusing.
I read that as "Yes, Bog does formatted strings", and appreciate the density.
Re: Bog – small, strongly typed, embeddable language
#37Is it my imagination or is the most embedded language in the world C# these days? Which doesn’t really look anything like a classic language designed for embedding.
Re: Bog – small, strongly typed, embeddable language
#38Pretty interesting. I'm a professional user of Lua, and while I love it, I really get frustrated at a lot of aspects of it, especially how loose the typing is. I've long wished there were more strongly typed alternatives, but just nothing compares to the performance, stability, and quality of documentation of Lua. I'm not sure how I would embed this in a non-Zig project, though.
Re: Bog – small, strongly typed, embeddable language
#39Re: Bog – small, strongly typed, embeddable language
#40It's a pity people don't know the history of the comma in python syntax, and thus think it's totally unnecessary (in a CS sense it is)...