<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Revanth Nemtoor</title>
    <description>The latest articles on DEV Community by Revanth Nemtoor (@revanth_nemtoor_0ee900112).</description>
    <link>https://dev.to/revanth_nemtoor_0ee900112</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3727124%2F4db3f411-ff48-4526-a71d-e6e0607248f8.jpg</url>
      <title>DEV Community: Revanth Nemtoor</title>
      <link>https://dev.to/revanth_nemtoor_0ee900112</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/revanth_nemtoor_0ee900112"/>
    <language>en</language>
    <item>
      <title>Building "Smrti" - A Compile-to-Assembly Language based on Panini's Grammar. Seeking Feedback!</title>
      <dc:creator>Revanth Nemtoor</dc:creator>
      <pubDate>Thu, 22 Jan 2026 21:52:53 +0000</pubDate>
      <link>https://dev.to/revanth_nemtoor_0ee900112/building-smrti-a-compile-to-assembly-language-based-on-paninis-grammar-seeking-feedback-1g9d</link>
      <guid>https://dev.to/revanth_nemtoor_0ee900112/building-smrti-a-compile-to-assembly-language-based-on-paninis-grammar-seeking-feedback-1g9d</guid>
      <description>&lt;p&gt;Namaste everyone,&lt;/p&gt;

&lt;p&gt;I've been working on a new programming language called Smrti . My goal is to create a language that doesn't just swap English keywords for Sanskrit ones, but actually incorporates Sanskrit grammatical structures (like Vibhakti) into the syntax itself.&lt;/p&gt;

&lt;p&gt;I built this language with the assistance of AI, which helped in generating the compiler architecture (written in Rust) while I focused on the linguistic design and core logic.&lt;/p&gt;

&lt;p&gt;I would love to get your thoughts on the syntax, specifically how it feels to someone familiar with Sanskrit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://revanthnemtoor.github.io/smrti_docs.github.io/docs.html" rel="noopener noreferrer"&gt;https://revanthnemtoor.github.io/smrti_docs.github.io/docs.html&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/revanthnemtoor/smrti_lang" rel="noopener noreferrer"&gt;https://github.com/revanthnemtoor/smrti_lang&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How it compares to other Sanskrit-based languages&lt;br&gt;
I've seen other attempts at Sanskrit programming languages, but many of them tend to follow a "Generic" approach:&lt;/p&gt;

&lt;p&gt;Generic Approach: Strictly replaces English keywords with Sanskrit words (e.g., swapping if for yadi, print for vada) but keeps the C/Java-style grammar exactly the same. It often feels like English code translated word-for-word.&lt;/p&gt;

&lt;p&gt;Smrti's Approach: I've tried to respect the grammar (Vyakarana) more deeply.&lt;/p&gt;

&lt;p&gt;Vibhakti for Ranges: Instead of a C-style for (i=0; i&amp;lt;10; i++), Smrti uses case endings. For example, 1-tah 10-paryantam (From 1... Up to 10).&lt;/p&gt;

&lt;p&gt;SOV Structure: Smrti supports Subject-Object-Verb ordering. You can write "Hello" vada; (Hello speak) instead of just vada("Hello");.&lt;/p&gt;

&lt;p&gt;Meaningful Typing: Types are named Ank (Number/Mark), Dashansh (Decimal), Sutra (Thread/String), reflecting their nature.&lt;/p&gt;

&lt;p&gt;Code Example&lt;br&gt;
Here is a simple snippet in Smrti:&lt;/p&gt;

&lt;p&gt;sutra Mukhyam() {&lt;br&gt;
    // Variable declaration&lt;br&gt;
    man count: Ank = 5;&lt;br&gt;
    // Range loop using -tah (Ablative) and -paryantam (Ending)&lt;br&gt;
    1-tah count-paryantam {&lt;br&gt;
        "Namaste World!" vada;&lt;br&gt;
    }&lt;br&gt;
}&lt;br&gt;
Does this syntax feel intuitive? Are there grammatical nuances (like the usage of tah and paryantam) that could be improved?&lt;/p&gt;

&lt;p&gt;I appreciate any feedback or suggestions!&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>programming</category>
      <category>rust</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
