We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

MarkupL

From Esolang
Jump to navigation Jump to search
Logo

MarkupL is the Gaian HTML created by the Interactive Script team, but it's more of a beginer-freindly version of Interactive Script, made for expanding the web development space in Gaia

Syntax

This section is still a work in progress. It may be changed in the future.

MarkupL syntax

MarkupL doesn't have tags, MarkupL has markers instead! MarkupL has a lot of markers but we will go over important markers

To give an id to a text marker, use id=x> marker, however despite that this is a branch of Interactive Script, the marker is programmed to not assign muliple id's to a single text marker

­ 1: id="a">"a"<br>

Add-ons

Makeup:

­ 1: style(...)

Interactive Script:

­ 1: behave(...)

Aditional information is that Interactive Script is checked and run in placed in the source code. So if you put the MarkupL code on top and the Interactive Script code on the bottom, the MarkupL code get's evaluated first and then Interactive Script code

Examples

Hello, world!

­ 1: "Hello, world!"

Cat program

­ 1: id="i"><field>input<field><button pushed=(main[])><br>
­ 2: id=
"o">""

­ 3: behave( make main[]{
­ 4: ­ set("o".ML,get("i") )
­ 5: } )