HTSS - Programming Language

This is a programming language I made at less than 3 hours. It merges HTML and CSS, but it has a different syntax. This is still extremely incomplete, (as it was a very fast project). If you want to help, just tell me :slight_smile:

https://replit.com/@OmegaOrbitals/HTSS?s=app

4 Likes

What does ?s=app do? I’ve never seen that until now. :eyes:

2 Likes

It’s from clicking share on the mobile app

3 Likes

So “HyperText StyleSheets”? Nice!

1 Like

Looks cool ig, but also kind of looks like harder HTML+CSS.

2 Likes

Yeah, I’m working on making it a sort of beginner language. HTML+CSS can be intimidating sometimes.

It is pretty cool, especially for a firs programming language (I am assuming)!

Idk, to me at least, it seems more complicated and harder to use then HTML/CSS, but that might be because I already know HTML/CSS XD

Hmm, it isn’t really that complicated… I guess it’s because of the demo, as I tested some of the features.

If it was in its simplest form:

new h1 title

edit title
textContent: "Hello World!"
end

HTML:

<h1>Hello World</h1>

1 line compared to 4, and no end business. (Although kind of)

Oh, and may I ask what “edit” does?

1 Like

edit edits the attributes, while edit-style edits the style. (Although classes are recommended)

1 Like

It doesn’t allow interactivity though, like editing the onclick attribute of a button though…

1 Like

I have another language for that, but I quit with it as I made too much mistakes. It can merge HTML, CSS, JS. You can check it out here.

https://maclipe-code-editor.omegaorbitals.repl.co


Creating Objects

create <type> <name>

Editing Objects

edit <name>
<styleName>: <styleValue>
end

EventListeners

on<event> <name>
<code>
end

Functions

function <functionName>(<params>)
<code>
end

Defining Variables

$$<name> = <value>

Usage of Variables
$<name>

I’ll add interactivity right now lol. This is meant to be a remake of my old programming language which, I linked in the last post.