Live data from Hacker News

Show HN: Vivaldi programming language

github.com

1–10 of 27 posts

Re: Show HN: Vivaldi programming language

#2
So 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

#3
post #2

So 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

Hey! Creator of Wake here.

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

#5
post #2

So 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

Nice work! What was the motivation for creating the vivaldi language?

Re: Show HN: Vivaldi programming language

#7
Looks 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 days ago, did you make the whole language in 22 days?

Re: Show HN: Vivaldi programming language

#9

Looks 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…

1. Mainly for fun! Languages are pretty complex, so I got to learn about number of things (e.g. recursive-descent parsing, closures, Ruby and Python internals) in making it, and it's pretty rewarding watching programs run successfully.

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

#10
post #2

So 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

why mutable strings, why ?
Post reply on HN