HNHacker News
TopNewBestAskShowJobs

asvln

35 karma · joined August 18, 2021

submissionscomments
asvln··on V or: How I learned even open-source communities can operate as fascist regimes
It's hard to describe what I recognize as totalitarian community without making comparison to actual historial events that mirror what I experienced. I never stated anyone is racist or that they inflicted physical violence on anyone.

I have however removed potentially offensive/misinterpretable phrasings in the article.

I'm just trying to inform people of what goes on with this language before they waste their time on it, or end up in the same situation of the user who as banned for no reason; if they care about how the "community" there operates.

I can't waste any more energy defending literary prose or anything to do with this situation, but it's posted here for historical reference.

asvln··on Analog – An analogous, indented syntax for the Rust programming language
You are absolutely correct, apologies I just saw it now. It was a remnant that got left over.

I now see the issue this raises and have discovered a solution through a macro!! call.

asvln··on Analog – An analogous, indented syntax for the Rust programming language
I think you misunderstood, or I am misunderstanding what you are trying to communicate. There would be no attempt to change any syntax within macro calls. All token trees fed into any macro would be fed directly with the exception of the implied braces when indenting the call.
asvln··on Analog – An analogous, indented syntax for the Rust programming language
The goal is experimentation.
asvln··on Analog – An analogous, indented syntax for the Rust programming language
Correct. I'm not even sure if it is worth implementing, but the idea is there.
asvln··on Analog – An analogous, indented syntax for the Rust programming language
If you remember the name of this I would love to see it.
asvln··on Analog – An analogous, indented syntax for the Rust programming language
This is so beautiful.
asvln··on Analog – An analogous, indented syntax for the Rust programming language
Thank you for your input. The syntax should accommodate dyslexic learners as much as possible.

If anything in the syntax has ambiguity in this regard, please do share, as I am not dyslexic.

asvln··on Analog – An analogous, indented syntax for the Rust programming language
- The plan was originally to design a syntax for a simple scripting language; but the more I designed it, the more I saw the ability to just bring in the rest of the language.

To represent all of Rust with only only a small set of ASCII characters, while keeping visual noise to a minimum, and still representing what the code was supposed to do was quite a riddle. I enjoy riddles.

- Changing lifetimes was due to the fact that ` does not conflict with any other part of Rust, I felt the concept of lifetimes deserved its own symbol, and it is much more readable when used as a prefix/suffix on a set of letters.

- The // characters stand out in a group of letters and numbers moreso than ||. In this manner, I can add highlight/significance to closure calls which can be deeply nested in function calls which are mainly chars [a-Z]. Also if you imagine you are in a circle: things loop in a straight line ||, but // would be take you on a diverging path.

- "analogous" "strictly transitive (by analogy) but you using it intransitively (as it were)"

This is very much intentional. Nouns do not exist in the real world, everything is verbing all the time. Languages have failings, they depend on the users of the language to use/redefine it as they see applicable.

The initial goal was to design an 'analogical' language. Or in other words: a language in which it's symbolic representation would correlate to the concepts being implemented. The first commit of the repo exemplifies this more.

- The macros can be translated directly into Rust, the first example is valid. Indentation would be substituted for a { on the macro call and the end of indentation would signify the }. As far as I know, leading and trailing whitespace is not a concern with Rust's macro system.

a) Making its own macro system would be futile considering most expressions haven't changed. It just requires more cognitive overhead to remember the ),; where applicable, but at least you only have to think about that stuff in macro calls.

b) If someone had to fallback to Rust when wanting to use this syntax, then the whole thing would be pointless and I would lament my time spent designing it to not learning how to bake crumb cake.

c) Now that's a lot of syntax trees...

asvln··on [dead]
I designed the grammar of a scripting language whose syntax is somewhat based on "analogical modeling".

None of the language has been implemented, but I am posting for suggestions / recommendations regarding the syntax.

I call this a "shell" scripting language in the repo because of the ease of calling shell commands. To avoid confusion please be aware it is not a shell, it is really just the layout for a standard scripting language.