When developing websites, the most prominent cause of issues is the tags. If you are forced by a corporation to use a code editor with no autofill tools, it can be a pain. Even then, we all have pains when trying to use HTML to develop. Sure, some might like frameworks such as Pug, but others do not. Some people want a web development language that gives them control, readability, fervor, without writing a billion lines of HTML. I took it upon myself to make this happen, so I am now building web LISP. I call it MEML, Minimal, and Efficient Markup Language.
Not much information is out at this time, but imagine LISP for websites. Some design work still needs to be done for the language. MEML utilizes JavaScript and Sass to build a website. JavaScript is for the translator to work, and Sass to add the functionality in extra tags.
Here is an example index.meml
file:
// Yeah this is basically LISP HTML
(head
(charset "UTF-8")
(viewport 1)
(title "This is MEML"))
(body
(p "Welcome to MEML"))
Here is if that same index.meml
file was translated to index.html
:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>This is MEML</title>
</head>
<body>
<p>Welcome to MEML</p>
</body>
</html>
The difference is staggering.
Top comments (7)
Neat!
I hate markdown, except for places like this where I use it to write documentation or about code. While Markdown is usable, I don't see it as a replacement to HTML nor a fix to HTML. Markdown is trying to be a different kind of markup language.
I definitely think that closing brackets are a solution to verbose XML closing tags.
Pug and indentation are not the only way. Complaining at Pug for using indentations is a wrong complaint and looking at a wrong problem.
I know that XML is not an S-expression, though. But I definitely dislike this phrase.
I never really had a problem with the verbosity of HTML, but this looks so promising!!! Such a great idea!!!
Looks great
Yeah