smajolang

An awful compile to JS language

Usage no npm install needed!

<script type="module">
  import smajolang from 'https://cdn.skypack.dev/smajolang';
</script>

README

smajolang

An awful compile to JS language

travis npm version npm downloads npm license prs Welcome eslint


                   /ossyys/.`                      
                :ydddddhmmmmdh+.                  
              /hddmmdddmmmmmmmmmdo`               
            `odmmmmdhhhhyo/:/+sdmdy.              
            +ddmhsoooo+//:::::/+sdmd`             
           `mdmyoo+++////////////odm:             
           .dmhoo+++///////:///+++yd+             
           .mdyo+++++++//++oosso++ody             
           :mds+osyyhhysooshhyysso+dd`            
           oddo+osyydhdyo+shhdhyso+ss`            
           ooho+ooossyys+//sssso+++o+             
           .os+++++ooooo+///oo+//++o/             
            :oo+++++ossoooo+oso+++++.             
             ../+++osssyyyyyssysoo/               
               `+oosyysyyyyysyysoo:               
                :ooooooosssssooso/                
                o+osooooossooooso                 
               odoosyysoossssysodo.               
             :ohdyssssyyyhhhyssdhhyy/-.`          
        `-+shddhhddysssssyyyyyddyhymhhhys/.`      
   `-:+yhhddddhhhhddhyyyyyyyhddhhyhmhhdhddhhyo/-` 
:+syhhddddmdmdhdhhdmddhhhhhhdmdhydhhhydhddhhhhhhyo
yyhhdhddddmdmdhmdmNmmddddddmmmNdydhhdydhddddhddhhh
yhhdddhddddddmddmmdmdmNmdhddddmmmmhhdhhhhddddhdhhh
yhhhhdhdddhdddddddmddddmmddddmddmmhhddhhhddddhhhhd

Installation

npm install --global smajolang

Syntax

  • Identical with JS, but all variables must include the word smajo
    • E.g. valid names smajo, smajolini, kjekkSmajoKul, $smajo$
    • E.g. invalid names name, smaj, smajs, hello

Usage

  • Make new directory
  • Create .smajorc JSON file with rootDir and outDir
  • Build your project in rootDir
  • Run smajo build to compile to JS

License

MIT © Daniel Eckermann