Fwd: Developing a Compiler for Programming in Devanagari Script

351 views
Skip to first unread message

Vishvas Vasuki

unread,
Jul 29, 2022, 3:02:58 AM7/29/22
to sanskrit-programmers, Sriram Durbha


---------- Forwarded message ---------
From: manoj.sr...@gmail.com <Unknown>
Date: Thursday, 28 July, 2022 at 11:01:03 pm UTC+5:30
Subject: Developing a Compiler for Programming in Devanagari Script
To: samskrita <Unknown>


I am looking for a couple of computer scientists who have deep interest in compilers and care about Indic languages.

I would like to develop a software development platform where one can develop and run software applications in Indic languages without having to learn English.

JavaScript is one programming language which is supported by all web browsers and servers (running NodeJS). TypeScript is the perfect wrapper for JavaScript giving it development time type checking making it an ideal platform for writing less buggy code.

One option would be to fork the TypeScript repo and modify it to support Devanagari Script based keywords. Essentially transpiling it into TypeScript which is then transpiled into JavaScript.

Second option would be to write a transpiler from scratch (a much bigger undertaking).

In addition to the above, we would need to develop a VS Code plugin for this new language, which I am calling KashiLipi, which will help programmers with syntax help and other development time error reporting and code suggestions.

We would also need to convert/write all the common standard JavaScript libraries such as console/File I/O, Network/Web communication etc.

This is not a job offer. I do have some money allocated for this project which could potentially offer some compensation, but this would most likely not be your primary job unless you are a research scholar doing PhD or post Doc at an Indian university.

If you are doing a PhD/Post Doc at an Indian university and would like to discuss this as a potential project for your graduate work, please discuss it with your advisor. I can sponsor this work at your university.

You can reach me at manoj.sr...@bhashitva.org

Thank you for your time.

Regards,
Manoj



विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Jul 29, 2022, 3:06:15 AM7/29/22
to sanskrit-programmers, Sriram Durbha, manoj.sr...@bhashitva.org

--
You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-program...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/c3ba0904-6fc7-4372-a6bc-88de6b85aeean%40googlegroups.com.


--
--
Vishvas /विश्वासः

Anunad Singh

unread,
Aug 1, 2022, 10:03:35 PM8/1/22
to sanskrit-programmers
A project called हिन्दवी was started with similar goal sometime around year 2000.


also

Hindawi: Write Computer Programs in Indic Langauges 

But making available programming in Indian languages is hardly useful compared to teaching social sciences (and other subjects too) in Indian languages.

-- anunAda

Vinod A

unread,
Aug 4, 2022, 2:42:44 AM8/4/22
to sanskrit-programmers
Looks like someone has built a similar thing (https://vedic-lang.github.io/) as pointed out by Vishvas. it's very latest (2 forks & 43 stars).

Listed down a few things I noticed w.r.t https://vedic-lang.github.io/vedic-ide/ and some points are already mentioned by Manoj.
  • Currently it's written in plain JS and no TypeScript
  • Plugin support in VS Code helps in reaching out to more people (dev communities).. I see a browser based IDE (https://vedic-lang.github.io/vedic-ide/). This is also a nice and very important aspect.
  • It's built as an exe (Node) to run anywhere..
Regards,
Vinod

Vinod A

unread,
Aug 4, 2022, 10:15:28 PM8/4/22
to sanskrit-p...@googlegroups.com
Looks like someone has built a similar thing (https://vedic-lang.github.io/) as pointed out by Vishvas. In Fact it's very latest (2 forks & 43 stars).

Listed down a few things I noticed w.r.t https://vedic-lang.github.io/vedic-ide/ and some points are already mentioned by Manoj.
  • Currently it's written in plain JS and no TypeScript
  • Plugin support in VS Code helps in reaching out to more people (dev communities).. I see a browser based IDE (https://vedic-lang.github.io/vedic-ide/). This is also a nice and very important aspect.
  • It's built as an exe (Node) to run anywhere..
Regards,
Vinod



You received this message because you are subscribed to a topic in the Google Groups "sanskrit-programmers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sanskrit-programmers/HPgpHIkjsoM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sanskrit-program...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CACa%2Bt%3DNB0H2o_8rnJyAP2_Dzu779GOkSpOcYwNNVbKyjgoRCEg%40mail.gmail.com.

Sriram Durbha

unread,
Nov 14, 2022, 12:33:58 PM11/14/22
to sanskrit-p...@googlegroups.com
Hi,
  https://youtu.be/1HSBFdmNucQ Video of the session that was initially scheduled to happen at the end of July, but ended up happening this Saturday.  Hope it is useful. 

But making available programming in Indian languages is hardly useful compared to teaching social sciences (and other subjects too) in Indian languages.

On the contrary, programming has the potential to influence adoption of a culture and language significantly.
Moreover,  They don't have to be mutually exclusive, both can be done! 
If a language is good enough to be used for human communication, it should be possible to base a programming language on it too.  
The ecosystem that supports a programming language, like documentation, input tools etc, is more likely to see increased adoption.

Cheers
Ram  


  

kenp

unread,
Nov 14, 2022, 8:01:46 PM11/14/22
to sanskrit-programmers

Sriram Durbha

unread,
Aug 12, 2025, 2:40:31 PMAug 12
to sanskrit-programmers
Its been a while,   but I have been working on a new programming language, that is actually a  Proper Subset of Samskrutam, with a few approved foreign graphemes. 
It is still a work in progress, but one major milestone was reached yesterday. a program written in Samskrutam was translated to Python using an LLM and submitted to the LeetCode online Judge platform and the submission was accepted.   

I am attaching my Samskrutam source and the LLM translated Python file.   
Please not that this is still a WIP and many improvements especially related to verbosity are coming soon.  I  also wrote a 12 chapter book, a quick reference guide .  Now working on iteratively improving the syntax and expressivity and building LSP and VSCode integration.  

Please share your thoughts on the Samskrutam source.

Thanks
Cheers
Ram




द्विधाविभक्तमध्यकम्.सं
विसरण्योर्मध्यकम्.py

C.B.S. Socrates

unread,
Aug 15, 2025, 12:02:38 PMAug 15
to sanskrit-p...@googlegroups.com
Check out Babylscript. According to the website:
```
Babylscript is an open-source multilingual version of JavaScript (ECMAScript). With Babylscript, people are able to write computer programs in their own native languages and not just English. Keywords, objects, and functions are all available in multiple languages.

One of the unique features of Babylscript is that it allows people to write programs in a mix of different languages. A programmer can take a library written in French, mix it with their own program written in Spanish, and use code snippets they found on a Chinese help forum.
```


https://babylscript.plom.dev/browsertranslator.html

--
You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-program...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages