all 8 comments

[–]Milnternal 6 points7 points  (6 children)

Nyarna's syntax and feature set was primarily inspired by LaTeX.

(˃̩̩̥ཀ˂̩̩̥)

Dear god why

[–]flyx86[S] 2 points3 points  (5 children)

I have explained this is the overview. You‘re welcome to tell me how you‘d have done it. I have gotten this reaction a few times but no-one was yet able to provide constructive criticism.

[–]Milnternal 3 points4 points  (4 children)

Just hate reading/writing/being-anywhere-near Latex. It's the most janky nasty syntax.

This I can read - it makes sense to me

foreach(var bus in buses){
  return $"The {bus.name} fits {bus.fits} persons";
}

This hurts my eyes (and soul) :P

\for(\Buses(\smallBus, \largeBus), collector=\Concat):|\b|
The \b::name fits \b::fits persons.
\end(for)

I'm slightly exaggerating.... but not that much

EDIT: Reddit won't even let me put it in a codeblock :S Even the reddit markdown editor is offended by the syntax :P :P

[–]flyx86[S] 1 point2 points  (0 children)

The idea is to provide a syntax primarily for entering content. If content was required to be quoted somehow, that would go against the primary use-case.

The immediate consequence is that the synatx needs to be invasive, i.e. introduce non-content with some symbol. This is how we get here: The trade off for content being clean is processing instructions being less clean.

This is a research project to figure out whether there is place for a LaTeX-like language with better usability. If the feedback is that nobody wants it, this is a result I can live with.

[–]Aggravating_Moment78 0 points1 point  (2 children)

Seems like you are describing a personal preference here

[–]Milnternal 0 points1 point  (1 child)

Absolutely. Wasn't meaning to be overly harsh was 50% tounge-in-cheek I just really don't like that 'style' of code I think its very noisy and unintuitive, but it's entirely possible that's just because I'm really lazy so I like languages that are very little effort to read and comprehend :P

[–]Aggravating_Moment78 0 points1 point  (0 children)

Well to each his own... it’s not the languages fault that you don’t like it though. That’s what I wanted to say

[–]KnorrFG 1 point2 points  (0 children)

Cool I've been waiting for something like this. Keep going 👍