5 ms·
ahem, by law programming languages must have code samples on the front page
by ajkjk 11mo ago
ahem, by law programming languages must have code samples on the front page
- deleted 11mo ago[deleted]
- sema4hacker 11mo agoYes, after wandering through a few pages trying to find an example that actually did something, I gave up and moved on.
- saghm 11mo agoThis 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!
- butvacuum 11mo agoIf this was released in April, I'd assume it was a joke: no va, no go... Not Go.
- picometer 11mo agoThe code block after "Welcome" is the code sample. Very literate.
- macintux 11mo agoA caption for that sample, indicating it is one, would help.
- graypegg 11mo agoIs 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/ https://playground.nova-lang.net/ doesn't seem to do anything. I assume it's the note taking part of the syntax?
- casuallyblue 11mo agoIts 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 11mo agoOH! 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 11mo agoThat is one of a couple syntactical shorthands, explained a small bit here: https://nova-lang.net/introduction-to-nova/sight/#sometime-youre-looking-for-things-like-strings-of-beads https://nova-lang.net/introduction-to-nova/sight/#sometime-y...
- casuallyblue 11mo agoyeah, the "." is a syntax for putting multiple things on the same stack [0] https://nova-lang.net/introduction-to-nova/sight/#sometimes-you-need-to-see-a-sequence-of-facts https://nova-lang.net/introduction-to-nova/sight/#sometimes-...
- user2342 11mo agoIt's there, but yes the home page is very confusing. I lost interest very fast.
- deleted 11mo ago[deleted]
- guywithahat 11mo agoI found some example code on their github https://github.com/dan-online/Nova https://github.com/dan-online/Nova
- forgotpwd16 11mo agoThis 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 http://www.navgen.com/nova/index.html [1]: https://research.nvidia.com/publication/2013-07_nova-functional-language-data-parallelism https://research.nvidia.com/publication/2013-07_nova-functio...
- xigoi 11mo ago*homonymous (a synonym is the opposite of a homonym)
- anonym29 11mo agoAre 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?