GlassScript – A Simple Markup Language

I’ve just built GlassScript – a structured markup language. It’s a balance between Markdown and HTML, with just enough syntax to give you control, but no boilerplate.

It’s great for writing documentation, or maybe a article.

It’s written in Python, a…


This content originally appeared on DEV Community and was authored by Splot Dev

I've just built GlassScript - a structured markup language. It's a balance between Markdown and HTML, with just enough syntax to give you control, but no boilerplate.

It's great for writing documentation, or maybe a article.

It's written in Python, and can be run through Python PIP or HTML Pyodide. I used regex to parse it, and that saved a lot of time.

Commands look like this:
(!command)(main_value)
(?variable)(value)
(.function)(html)

As you can see, it looks simple enough. You can also use carats to escape the brackets.

In the HTML Pyodide one, the plug and play method, I included all the functions/preloads for ease of use.

Check it out: https://www.splot.dev/glass-script/
If you need the code, check out my repo, and maybe contribute: https://codeberg.org/splot-dev/glass-script

Thanks for reading, and enjoy your day!


This content originally appeared on DEV Community and was authored by Splot Dev


Print Share Comment Cite Upload Translate Updates
APA

Splot Dev | Sciencx (2025-10-15T20:31:19+00:00) GlassScript – A Simple Markup Language. Retrieved from https://www.scien.cx/2025/10/15/glassscript-a-simple-markup-language/

MLA
" » GlassScript – A Simple Markup Language." Splot Dev | Sciencx - Wednesday October 15, 2025, https://www.scien.cx/2025/10/15/glassscript-a-simple-markup-language/
HARVARD
Splot Dev | Sciencx Wednesday October 15, 2025 » GlassScript – A Simple Markup Language., viewed ,<https://www.scien.cx/2025/10/15/glassscript-a-simple-markup-language/>
VANCOUVER
Splot Dev | Sciencx - » GlassScript – A Simple Markup Language. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/10/15/glassscript-a-simple-markup-language/
CHICAGO
" » GlassScript – A Simple Markup Language." Splot Dev | Sciencx - Accessed . https://www.scien.cx/2025/10/15/glassscript-a-simple-markup-language/
IEEE
" » GlassScript – A Simple Markup Language." Splot Dev | Sciencx [Online]. Available: https://www.scien.cx/2025/10/15/glassscript-a-simple-markup-language/. [Accessed: ]
rf:citation
» GlassScript – A Simple Markup Language | Splot Dev | Sciencx | https://www.scien.cx/2025/10/15/glassscript-a-simple-markup-language/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.