Remix.run Logo
ajkjk 2 days ago

ahem, by law programming languages must have code samples on the front page

sema4hacker 2 days ago | parent | next [-]

Yes, after wandering through a few pages trying to find an example that actually did something, I gave up and moved on.

saghm 2 days ago | parent [-]

This was especially confusing to me when I clicked on the "try" button and was dropped into a page with an empty text box. Most playgrounds I've seen before at least have a "hello world" there. There's a run button, but it's not particularly useful with an empty file!

picometer 2 days ago | parent | prev | next [-]

The code block after "Welcome" is the code sample. Very literate.

graypegg 2 days ago | parent | next [-]

Is it meant to do something? It doesn't follow the same cause/effect syntax as the tutorial, and plopping that welcome block into https://playground.nova-lang.net/ doesn't seem to do anything. I assume it's the note taking part of the syntax?

casuallyblue 2 days ago | parent [-]

Its not necessarily meant to do anything on its own. The text there is the same cause/effect syntax, just with slightly different delimiters. If you were to include the fact it needs to execute for the rule to work on after the code, like: "|| - Welcome to Nova! -", then the rule would execute.

graypegg 2 days ago | parent [-]

OH! Ok that makes more sense. `:` from the tutorial is `-` or `~`, because it's the first char after the pipe.

I do lose track after that though, in my brain, It looks like the entire second part after the second pipe character should be just one long fact assigned to the stack between tildes, but I think it's adding each one of the bullet-prefixed lines to it.

yumaikas 2 days ago | parent | next [-]

That is one of a couple syntactical shorthands, explained a small bit here: https://nova-lang.net/introduction-to-nova/sight/#sometime-y...

casuallyblue 2 days ago | parent | prev [-]

yeah, the "." is a syntax for putting multiple things on the same stack

[0] https://nova-lang.net/introduction-to-nova/sight/#sometimes-...

macintux 2 days ago | parent | prev [-]

A caption for that sample, indicating it is one, would help.

user2342 2 days ago | parent | prev | next [-]

It's there, but yes the home page is very confusing. I lost interest very fast.

guywithahat 2 days ago | parent | prev | next [-]

I found some example code on their github https://github.com/dan-online/Nova

forgotpwd16 2 days ago | parent [-]

This is an unrelated synonymous language. Besides this and submitted one, there're few others found online, one[0] being 20y+ old (first release 06/2003). There's also a research one on functional parallel programming[1], but no public implementation seems to exist. (Though conceptually Futhark is similar; maybe that Nova even influenced Futhark's creation.)

[0]: http://www.navgen.com/nova/index.html

[1]: https://research.nvidia.com/publication/2013-07_nova-functio...

xigoi 2 days ago | parent [-]

*homonymous (a synonym is the opposite of a homonym)

forgotpwd16 a day ago | parent | next [-]

True, thanks. Had forgot this term even existed.

anonym29 2 days ago | parent | prev [-]

Are you sure that a synonym is the opposite of a homonym, rather than say, the logical inverse corollary of a homonym? I'd think "the opposite of a homonym" would just be a word spelled differently from the target word, no?

xigoi a day ago | parent [-]

A synonym is a different word with the same meaning. A homonym is the same word with a different meaning.

2 days ago | parent | prev | next [-]
[deleted]
2 days ago | parent | prev [-]
[deleted]