Show HN: Vivaldi programming language
github.com
Show HN: Vivaldi programming language
1–10 of 27 posts
Re: Show HN: Vivaldi programming language
#2Re: Show HN: Vivaldi programming language
#3So this[1] post recently made its way across the HN front page, which I found serendipitous given my current side project. There's nothing terribly groundbreaking in my language— everything in it is basically taken from Ruby, Scheme, or Python— but I certainly learned a lot making it, and maybe some of y'all will find something of interest in it. [1] https://news.ycombinator.com/item?id=9040029
This looks like a nice language! Lots of syntactic niceties, and it looks extremely feature complete.
Nice work! I'm not surprised you learned a lot given how many features it supports!
Re: Show HN: Vivaldi programming language
#4For a few seconds I wasn’t sure if this was a pun with a reference to the Forth programming language, but it’s not.
Re: Show HN: Vivaldi programming language
#5So this[1] post recently made its way across the HN front page, which I found serendipitous given my current side project. There's nothing terribly groundbreaking in my language— everything in it is basically taken from Ruby, Scheme, or Python— but I certainly learned a lot making it, and maybe some of y'all will find something of interest in it. [1] https://news.ycombinator.com/item?id=9040029
Re: Show HN: Vivaldi programming language
#6Re: Show HN: Vivaldi programming language
#7A few things that were not explained in the README:
Why did you decide to create your own programming language?
> every type in Vivaldi inherits from Object (which in turn inherits from... itself)
What was the reason behind making Object inherit from itself?
What is the largest program currently written in Vivaldi?
edit: It looks like the first commit on github is 22 days ago, did you make the whole language in 22 days?
Re: Show HN: Vivaldi programming language
#8Re: Show HN: Vivaldi programming language
#9Looks like a fairly well put together language. A few things that were not explained in the README: Why did you decide to create your own programming language? > every type in Vivaldi inherits from Object (which in turn inherits from... itself) What was the reason behind making Object inherit from itself? What is the largest program currently written in Vivaldi? edit: It looks like the first commit on github is 22 da…
2. Mainly that, because of the way objects are defined in the C++ (in value.h), it had to inherit from some type. I could just fudge it and make it inherit from nil or something, but there isn't any particular downside to the current system, and it has the added benefit of ensuring that obj.type().parent() is always successful.
3. Nothing much beyond a few test scripts (ProjectEuler solutions, etc) at the moment. Since there isn't a C API yet, it's pretty hard to make anything that requires networking, GUIs, etc., so adding that is near the top of my TODO list.
4. I might have started a few days before the initial commit (I can't remember ATM), but more or less, yeah.
Re: Show HN: Vivaldi programming language
#10So this[1] post recently made its way across the HN front page, which I found serendipitous given my current side project. There's nothing terribly groundbreaking in my language— everything in it is basically taken from Ruby, Scheme, or Python— but I certainly learned a lot making it, and maybe some of y'all will find something of interest in it. [1] https://news.ycombinator.com/item?id=9040029