Skip to content

Supraboy981322/ELH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ELH (Embed Languages in HTML)

Warning

HIGHLY EXPERIMENTAL AND EARLY DEVELOPMENT!

Freely embed various programming languages into HTML; like PHP, but without being bound to one language.


Usage examples

  • list files in directory with Bash
    <!DOCTYPE html>
    <body>
      <h1>files</h1>
      <ul>
        <$bash
          for file in $(ls); do
            printf "<li>$file</li>\n"
          done
        $>
      </ul>
    </body>
  • more examples

Dependencies

Note

You only need to install the dependencies for the languages you're using


TODO

Note

This project will reach v1.0.0 when I finish the TODO list; until then, there will be no version numbering (as I add more to the list as I think of things that it needs for completion)

----------- functionality -----------

  • HTTP server
  • Parsing .elh for language tags
  • Basic definitions for language tags
  • Executing code in language tags
  • Injecting formatting requirements for various languages
  • Mime types for files other-than .elh
  • Passing headers and params
  • imports
  • Fix indentation bug
  • user-defined languages (?)

------------- languages -------------

  • Go
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • Python
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
      • whitespace requirements
  • Bash
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • Java
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • R
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • JavaScript
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • Markdown
    • Works
    • Fixed all known bugs
      • whitespace requirements
  • Ruby
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • PHP
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • Perl
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • Lua
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
  • Brainfuck
    • Works
  • Basic
    • Works
    • Fixed all known bugs
  • VimScript
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs
      • Strange behavior when printing integers
  • Dart
    • Works
    • Imports
    • Headers
    • Request params
    • Fixed all known bugs

About

Highly experimental and in development embedding of languages into HTML

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published