For a long time, I was curious about programming languages, and wanted to make a language that had many syntax sugars and was smooth and fun for developers to use. I think it’s time to show you the grammar of the language I have in mind for you to comment on. I hope that the language, called Silk, will be refined and implemented in the comments of many dear members of the community.
So far, I’ve pretty much completed the first step of the compiler, the lexical analysis of the Silk language using Rust language development. I wasn’t sure about the details of the syntax until I designed the parsing. But there is a general direction, I hope that users give valuable advice.
Silk on github If you have the insterest in Silk and ,If you want to develop Silk with me, you can contact me at Github ~ Thanks for the support for open source projects! email: zstarcc@gmail.com
concise variable definition
a = [1,2,3,4,5,6] //array
b = |"function","good"| //tuple
c = Set(