๐๐ผA๐๐ผrevolution๐๐ผin๐๐ผHTML๐๐ผ
LmaoLang ๐ is a ๐ unique programming language ๐ that uses emojis ๐ to represent HTML ๐ elements. It's ๐ designed for those ๐ who love ๐ to mix creativity ๐จ and coding ๐ป.
Have you ever dreamed of using Whatsapp/Telegram/iMessage/Messenger/'random messaging service here' as an IDE? Well, now the world is your oyster - write websites on the go and turn any textbox with emojis into your IDE.
Is this a joke? Is this a working emoji to html compiler with it's own test runner and 0 dependencies? The truth lies somewhere in the middle...
๐คฃ-Lang is the first web development language that is human-language agnostic. You do not need to know English to program in ๐คฃ-lang. It is also friendly to people with dyslexia
๐ฝ๏ธ๐บLMAOLANG TRAILER VIDEO: "CLICK HERE"
-
๐ MACBOOK WITH TOUCHPAD KEYBOARD:
-
๐๐ต OFFICIAL ๐คฃLANG PLAYLIST: "Playlist to write beautiful ๐คฃlang code" : ๐ถ
-
Mandatory watching to be a good ๐คฃ-lang developer: "Primer on LmaoLang (he's literally me๐ฅบ)"
-
Works great with RSC and HTMX
- Make sure you have Node installed
- run
npm i
in terminal 2 typenpm run โฅ๏ธ
in console - That's it. Edit the
โฅ๏ธ .lmao file in src/ directory to build your website
๐ Use emojis to write html. Text is treated as text - but don't mention "He-Who-Must-Not-Be-Named..."
And sigh... for now, we support plaintext html interoperability: you can use ๐คฎtraditional๐คขhtml for unsupported tags
๐ Is the universal closing tag. Close any tag by adding the ๐ modifier to it. Example:
๐คฃ ๐ชฌ ๐ซฆ I love LmaoLang! ๐๐ซฆ ๐๐ชฌ ๐๐คฃ
I heard you like emojis... ๐คฆ but how do you use emojis in your documents?
Easy, use the ๐ช emoji to escape emojis! ๐ช can escape itself too. It can also escape the ๐ modifier. Example:
๐ช๐ฆI am a not a div ๐ช๐๐ช๐ฆ and you can ๐ช๐ช escape ๐ช๐ช escapes ๐ช๐ช
<html> ---> ๐คฃ
<body> ---> ๐ชฌ
<h1> -----> ๐ซฆ
<div> ----> ๐ฆ
<span> ---> ๐คช
<p> ------> ๐ฌ
<ol> -----> ๐
<ul> -----> ๐ฒ
<li> -----> ๐
<article> -> ๐ค
That's all you need!
To run the test: npm run โบ๏ธ
At ๐คฃ-Lang, we believe that tests should be quick to write. That's why we opted for a simple yet powerful testing approach. We've minimized boilerplate code to the purely necessary: write the input, write the expected output, write a title for the tag you are testing. Done. All tests live in a single test file "tests.
Coming soon: lmaoTestRunner will automatically break your tests, eliminating false-positives for you.
๐ To use LmaoLang, simply ๐ write your HTML ๐ using emojis ๐คฃ. The compiler ๐ค will translate ๐ your emoji code ๐งโ๐ป into standard HTML ๐.
๐ Here's a simple ๐ค "Hello World" ๐ example in LmaoLang:
๐คฃ
๐ชฌ
๐ซฆ Hello World ๐๐ซฆ
๐๐ชฌ
๐๐คฃ
๐ This will compile ๐ ๏ธ into:
<html>
<body>
<h1>Hello World</h1>
</body>
</html>
FOR BEST DX, RUN IT INSIDE OF TempleOS on Parallels Desktop on a Macbook Pro
On idiots vs geniuses by the great Terry Davis "Terry Davis on Simplicity"
- ๐ฆ as div -> Box contains things, it's a container
- ๐ as li -> If you type "list" in emoji keyboard, it's the second entry to appear
- ๐ฒ as ul -> Opposite of ordered is random
- ๐ค as article -> Articles are for nerds
For inquiries and employment opportunities please email [email protected]
Copyright (C) 2024 Alex Andru