3 comments

  • gus_massa1 day ago
    It feels like Pascal in Cyrillic. Autotranslation, with a little manual correction, but I can&#x27;t fix КНЦ (autotranlated to KNC):<p><pre><code> FUNC FACT (N); NAME: R; 1 -&gt; P; FOR I FROM 1 TO N :: R * I -&gt; R ALL RES: R KNC; FOR N FROM 0 TO 6 :: ? &quot;FACT(&quot;, N, &quot;) = &quot;, FACT(N) ALL;</code></pre>
    • dimava8 minutes ago
      Since I know russian well, here&#x27;s a proper translation for y&#x27;all<p><pre><code> FUNC FACT (N); NAMES: P; (* variable names *) 1 -&gt; P; FOR I FROM 1 TO N :: P * I -&gt; P DONE (* endif *) RET: P (* return value *) END; (* end of function *) FOR N FROM 0 TO 6 :: ? &quot;FACT(&quot;, N, &quot;) = &quot;, FACT(Н) (* print *) DONE;</code></pre>
    • vbezhenar2 hours ago
      Few fixes:<p>1. &quot;ИМЕНА&quot; is plural, so instead of &quot;NAME:&quot; it&#x27;s a bit more appropriate to use &quot;NAMES:&quot;. Probably should be &quot;VARIABLES&quot; or &quot;VARS&quot; in modern context.<p>2. You&#x27;ve got few typos mixing &quot;R&quot; and &quot;P&quot;. Should be &quot;R&quot; everywhere.<p>3. Instead of &quot;ALL&quot; you should use &quot;DONE&quot;.<p>4. Instead of &quot;KNC&quot; you should use &quot;END&quot;.<p>So it would look like this:<p><pre><code> FUNC FACT (N); NAMES: R; 1 -&gt; R; FOR I FROM 1 TO N :: R * I -&gt; R DONE RES: R END; FOR N FROM 0 TO 6 :: ? &quot;FACT(&quot;, N, &quot;) = &quot;, FACT(N) DONE;</code></pre>
    • xxs39 minutes ago
      &gt;It feels like Pascal in Cyrillic<p>replace cyrillic w&#x2F; russian and it&#x27;d be ok.<p>КНЦ = end (конец in russian is end). However, in bulgarian in means &#x27;thread&#x27; (as in sewing thread) and it has lots its meaning of end, aside from &#x27;from needle to thread&#x27; expression where it means from the tip of the needle to the end of the thread.<p>Also &#x27;ALL&#x27; (и все = it&#x27;s over&#x2F;that&#x27;s all), which should be &#x27;end&#x27; as in begin&#x2F;end in pascal.<p>The main point still stands - it&#x27;s Pascal.
    • yeputons2 hours ago
      I would read «КНЦ» as «КОНЕЦ», literally “an end” or “the end” (Russian does not have anything resembling articles). Who needs vowels, anyway.<p>Also, «ВСЕ» feels like «ВСЁ» in this context, I’d translate that as “that’s all”.
      • varjag6 minutes ago
        The acronyms are because it was originally russified by substituting character codes in Pascal binary. Thus VAR became ИМЯ, END became КНЦ and so on. Same reason JOB hilariously became ЗАД in the liberated OS&#x2F;360.<p>Everyone&#x27;s happy, head of development celebrates his 3rd degree Lenin&#x27;s premium.
    • gus_massa1 day ago
      [flagged]
      • dijksterhuis2 hours ago
        <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html</a><p>&gt; Don&#x27;t post generated comments or AI-edited comments. HN is for conversation between humans.
  • ymir_e1 hour ago
    The playground on [demin.ws&#x2F;rapira](<a href="https:&#x2F;&#x2F;demin.ws&#x2F;rapira&#x2F;" rel="nofollow">https:&#x2F;&#x2F;demin.ws&#x2F;rapira&#x2F;</a>) feels well made.<p>This is a pretty cool historical artifact.<p>Does anyone use &quot;native language&quot; programming languages in education or day to day?
    • voidUpdate17 minutes ago
      I dont use any of them, but here&#x27;s a list of non-english programming languages that some people probably use day-to-day<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Non-English-based_programming_languages" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Non-English-based_programming_...</a>
    • konart37 minutes ago
      1C is widely used in Russia as part of 1C:Enterprise (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;1C:Enterprise" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;1C:Enterprise</a> think sap&#x2F;abap)<p>UPD: 1C can be used in both Russian and English. And I&#x27;m pretty sure it can be used outside of 1C:Enterprise.<p>It also has BSL Language Server and IDEA\VSCode extensions.
  • arcadialeak1 hour ago
    There is also an independent open-source interpreter for 1C language (which is to this day reported to be extensively used in Russian enterprise) implemented in C#. I haven&#x27;t tried it myself, but just though that it&#x27;s also worth mentioning here as the project seems to be actively worked on: <a href="https:&#x2F;&#x2F;github.com&#x2F;evilbeaver&#x2F;onescript" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;evilbeaver&#x2F;onescript</a>