<?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: Anubhav Ghoshal</title>
    <description>The latest articles on DEV Community by Anubhav Ghoshal (@anubhab_ghoshal_c9eb7a21c).</description>
    <link>https://dev.to/anubhab_ghoshal_c9eb7a21c</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%2F3908579%2F3f966cab-3f0d-44f0-9bee-e26e821a7417.png</url>
      <title>DEV Community: Anubhav Ghoshal</title>
      <link>https://dev.to/anubhab_ghoshal_c9eb7a21c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anubhab_ghoshal_c9eb7a21c"/>
    <language>en</language>
    <item>
      <title>I’m a High School Student Building a Programming Language on Android</title>
      <dc:creator>Anubhav Ghoshal</dc:creator>
      <pubDate>Sat, 30 May 2026 13:56:20 +0000</pubDate>
      <link>https://dev.to/anubhab_ghoshal_c9eb7a21c/im-a-high-school-student-building-a-programming-language-on-android-3mdk</link>
      <guid>https://dev.to/anubhab_ghoshal_c9eb7a21c/im-a-high-school-student-building-a-programming-language-on-android-3mdk</guid>
      <description>&lt;p&gt;This post was formatted and re-phrased using AI, but was written by me originally. Please do not quit because I used AI to make the post better.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Introduction
&lt;/h2&gt;

&lt;p&gt;Hi, I’m Anubhav Ghoshal, a 16-year-old developer from Jharkhand, India.&lt;/p&gt;

&lt;p&gt;I’m currently building a programming language called &lt;strong&gt;San&lt;/strong&gt;, entirely on an Android device using a Linux environment. This is a personal learning project focused on understanding how compilers and interpreters work from the ground up.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. San — My Programming Language
&lt;/h2&gt;

&lt;p&gt;San is named after the Korean word for &lt;em&gt;mountain&lt;/em&gt;, something I’ve always been drawn to.&lt;/p&gt;

&lt;p&gt;It is a &lt;strong&gt;dynamically and strongly typed language&lt;/strong&gt; with a &lt;strong&gt;tree-walking interpreter architecture&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lexical Analysis (Lexer)&lt;/li&gt;
&lt;li&gt;Recursive Descent Parser&lt;/li&gt;
&lt;li&gt;Abstract Syntax Tree (AST)&lt;/li&gt;
&lt;li&gt;Tree-Walking Interpreter&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The design is influenced by languages like &lt;strong&gt;Rust, Go, Python, and C&lt;/strong&gt;, focusing on clarity and explicit control.&lt;/p&gt;

&lt;p&gt;Here's the GitHub repository: &lt;a href="https://github.com/anubhav-1207/san" rel="noopener noreferrer"&gt;https://github.com/anubhav-1207/san&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Current design features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Explicit mutability vs immutability&lt;/li&gt;
&lt;li&gt;Explicit reassignment rules&lt;/li&gt;
&lt;li&gt;Short, minimal keywords&lt;/li&gt;
&lt;li&gt;Conventional syntax style (familiar structure)&lt;/li&gt;
&lt;li&gt;Optional semicolons&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Development Environment
&lt;/h2&gt;

&lt;p&gt;San is being built entirely on an &lt;strong&gt;Android device&lt;/strong&gt; using a Linux environment (proot setup).&lt;/p&gt;

&lt;p&gt;This is a constraint-driven setup, but it still supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Code editing&lt;/li&gt;
&lt;li&gt;Running interpreter tests&lt;/li&gt;
&lt;li&gt;Iterative language development&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is not convenience, but learning how language internals actually work under real constraints.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Learning Journey
&lt;/h2&gt;

&lt;p&gt;My early exposure to programming started in school, but it was initially limited to basic concepts like input/output, loops, and conditionals.&lt;/p&gt;

&lt;p&gt;Later, I revisited programming more seriously and started understanding:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How variables actually work in memory&lt;/li&gt;
&lt;li&gt;Why programming languages exist&lt;/li&gt;
&lt;li&gt;How interpreters and compilers execute code&lt;/li&gt;
&lt;li&gt;Why errors cannot always be “auto-fixed” by the language&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That shift is what eventually led me toward building my own language instead of just using existing ones.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. Building Alone &amp;amp; Learning Process
&lt;/h2&gt;

&lt;p&gt;This project is entirely self-driven.&lt;/p&gt;

&lt;p&gt;I did not have direct mentorship in compiler development, so I relied heavily on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Documentation&lt;/li&gt;
&lt;li&gt;Experimentation&lt;/li&gt;
&lt;li&gt;AI-assisted explanations while learning concepts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, all implementation decisions and code are written and understood by me, and I often rebuild components from scratch to ensure I truly understand them.&lt;/p&gt;




&lt;h2&gt;
  
  
  6. What San Includes Right Now
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Basic lexer implementation&lt;/li&gt;
&lt;li&gt;Parser with recursive descent approach&lt;/li&gt;
&lt;li&gt;Immutability checks&lt;/li&gt;
&lt;li&gt;AST generation&lt;/li&gt;
&lt;li&gt;Early interpreter logic&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  7. What’s Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Better error handling&lt;/li&gt;
&lt;li&gt;Standard library basics&lt;/li&gt;
&lt;li&gt;Language stability improvements&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  8. Closing
&lt;/h2&gt;

&lt;p&gt;San is still in early development, but the goal is simple:&lt;br&gt;&lt;br&gt;
to deeply understand how programming languages work by building one from scratch.&lt;/p&gt;

&lt;p&gt;Feedback is welcome.&lt;/p&gt;




</description>
      <category>compilers</category>
      <category>interpreters</category>
      <category>parsers</category>
    </item>
  </channel>
</rss>
