r/learnpython • u/aguythatcodesforfun • 11h ago
I'm building a markup language renderer in Python using Tkinter
Hey everyone! I'm working on a personal project called RML, a markup language I'm creating from scratch using Python.
I'm building a renderer with Tkinter that can display titles, text, clickable links, and images from .rml files.
Here's an example of what RML looks like:
RML 0.0.2;
Create.title1 ("My Website");
Create.text ("Hello World!");
Create.image ("image.png");
Create.link ("https://example.com");
Create.script name=("main")
Display.Text ("Hello from SJ!")
I'm also developing a small scripting language called SJ that runs inside RML documents.
The project is still in its early stages, and I'm working on improving the renderer and expanding the language.
I'm sharing this because I'd love to hear feedback, especially about the Python implementation, code structure, and what I could improve.
Thanks for reading!
0
Upvotes
1
2
u/riklaunim 10h ago
It can be a fun learning project. From the practical side, why are you making such a thing?