Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » EzScript - A python html thingy
- Mr_rudy
-
100+ posts
EzScript - A python html thingy
I made this little silly html python thing
It converts simple syntax to html, and it was written in python. It is based off the source of ZenScript by @BA4X but I didn't like the syntax and wanted a few more features.
It is a very early alpha, but you still can make some cool stuff with it
The gh repo is here
The syntax is like this:
<title> cool ezscript website
<heading> this is a heading
<text> yo
<js>
alert('cool')
<endjs>
<css>
body {
background-color: lightblue;
}
<endcss>
Oh yeah you can use fengari (lua)
try this out:
<initlua>
<lua>
print(“Look at the console! This is not regular js, its lua!”)
<endlua>
TODO:
More tags
Better compiler (lua rewrite?)
And much more
Feel free to suggest features
It converts simple syntax to html, and it was written in python. It is based off the source of ZenScript by @BA4X but I didn't like the syntax and wanted a few more features.
It is a very early alpha, but you still can make some cool stuff with it

The gh repo is here
The syntax is like this:
<title> cool ezscript website
<heading> this is a heading
<text> yo
<js>
alert('cool')
<endjs>
<css>
body {
background-color: lightblue;
}
<endcss>
Oh yeah you can use fengari (lua)
try this out:
<initlua>
<lua>
print(“Look at the console! This is not regular js, its lua!”)
<endlua>
TODO:
More tags
Better compiler (lua rewrite?)
And much more
Feel free to suggest features

Last edited by Mr_rudy (Feb. 29, 2024 22:41:16)
- Mr_rudy
-
100+ posts
EzScript - A python html thingy
basically lol this is just html but odd
- Steve0Greatness
-
1000+ posts
EzScript - A python html thingy
Why are you forcing the font-family to Arial? I don't even think most sites have Arial on them. Mine doesn't at least.
- Mr_rudy
-
100+ posts
EzScript - A python html thingy
you can change the font, its not forced
- dumorando
-
100+ posts
EzScript - A python html thingy
i added it to zenscript as a way to kinda eliminate times new roman (bleh) Why are you forcing the font-family to Arial? I don't even think most sites have Arial on them. Mine doesn't at least.
you can change it (atleast in zenscript idk about ezscript) with “font (whatever css font you want)”
- Mr_rudy
-
100+ posts
EzScript - A python html thingy
you use <font> cuz tags are cooli added it to zenscript as a way to kinda eliminate times new roman (bleh) Why are you forcing the font-family to Arial? I don't even think most sites have Arial on them. Mine doesn't at least.
you can change it (atleast in zenscript idk about ezscript) with “font (whatever css font you want)”

- Steve0Greatness
-
1000+ posts
EzScript - A python html thingy
REMOVED
Last edited by Steve0Greatness (Feb. 29, 2024 02:15:45)
- NFlex23
-
1000+ posts
EzScript - A python html thingy
I made something kinda similar a long time ago: https://github.com/MystPi/marker
- Mr_rudy
-
100+ posts
EzScript - A python html thingy
https://github.com/MystPi/markerNice! Lua.vm.js was just added to ZenScript, but I kinda want to add Fengari to EzScript, cuz its faster then lua.vm.js I made something kinda similar a long time ago:
EDIT: I added Fengari
Last edited by Mr_rudy (Feb. 29, 2024 23:00:54)
- Mr_rudy
-
100+ posts
EzScript - A python html thingy
I also added Python support, keep in mind the sites are still completely static. I used a JavaScript code thing that lets you run Python in HTML.
- Discussion Forums
- » Advanced Topics
-
» EzScript - A python html thingy