r/learnpython • • Oct 23 '26

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

21 comments sorted by

View all comments

Show parent comment

2

u/JamzTyson Oct 24 '26

The Python code.

1

u/aguythatcodesforfun Oct 24 '26

I forgot to reply, the code is in the github repository

2

u/JamzTyson Oct 24 '26 edited Oct 24 '26

Which github repository?