Earlier quoted context omitted.
all-of should not work unless your syntax for basic arithmetic is something heinous.
Or you're Lisp
The Bosque Programming Language
11–20 of 178 posts
Re: The Bosque Programming Language
#12At first site, it seems like a Swift clone. However, there surely be some reasons that I cannot catch.
Re: The Bosque Programming Language
#13Re: The Bosque Programming Language
#14We also have a webinar with Q&A scheduled for Thursday morning (https://note.microsoft.com/MSR-Webinar-Programming-Languages...) which may be of interest as well.
Re: The Bosque Programming Language
#15I gotta say you lost me at args->allof It’s 2020, if you’re really serious about building a new language, shouldn’t you at least pick a reasonable naming case convention? (allOf, AllOf, all_of, all-of would all work) (Not talking about the fact that allOf doesn’t seem very consistent with other languages...)
all-of should not work unless your syntax for basic arithmetic is something heinous.
If you have something clear you break tokens on, like whitespace (except within quotes), then you should have no problems allowing arbitrary symbols inside an identifier.
Re: The Bosque Programming Language
#16I gotta say you lost me at args->allof It’s 2020, if you’re really serious about building a new language, shouldn’t you at least pick a reasonable naming case convention? (allOf, AllOf, all_of, all-of would all work) (Not talking about the fact that allOf doesn’t seem very consistent with other languages...)
Re: The Bosque Programming Language
#17Earlier quoted context omitted.
all-of should not work unless your syntax for basic arithmetic is something heinous.
Or you're Lisp
[1] https://docs.raku.org/syntax/identifiers#Ordinary_identifier...
Re: The Bosque Programming Language
#18Re: The Bosque Programming Language
#19Hi, project owner here, great to see this on HN and always happy to hear from folks here and on the GitHub repo. We also have a webinar with Q&A scheduled for Thursday morning ( https://note.microsoft.com/MSR-Webinar-Programming-Languages... ) which may be of interest as well.
function add2(x: Int, y: Int): Int {
return x + y;
}
add2(2, 3) //5
add2(x=2, y=3) //5
add2(y=2, 5) //7
The language already supports '=' operator for assignment of variables in the current scope, so should you use the same operator for denoting value assignment formal parameters in a function call? This can lead to a lot of confusion between variables in the scope and formal parameter names in a function that is called from the current scope.Re: The Bosque Programming Language
#20So Bosque programs are not allowed to receive input from the outside world?
> When an error occurs in deployed mode the runtime simply aborts, resets, and re-runs the execution in debug mode to compute the precise error!
Again, no interaction with the outside world? Or are all inputs recorded during the entire execution?
It doesn't seem like this could work as specified in many real-world scenarios...
EDIT:
> This compiles recursive functions into a CPS form that uses constant stack space, eliminating any possible Out-of-Stack issues
So recursion cannot depend on input from the outside world?
Either 1. I'm missing something, 2. Bosque programs indeed cannot receive input from the outside world, or 3. these claims seem a bit exaggerated...