Skip to content

Creadores-Program/PLHS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

PLHS

Programing Language HTML Syntax

# How to use? ## Java Example:
package example;
import Creadores.Program.PLHS.*;
public class Example{
  public Example(){
    Engine engHP = new Engine();
    //eval
    try{
      engHP.eval("code...");
    }catch(ExceptionPLHS e){
      e.printStackTrace();
    }
    //put java object in PLHS
    engHP.put("nameTag", "Object");
    engHP.put("System", System.class);
    try{
      engHP.eval("<plhs><head><title>Example</title></head><body><System isDiv json='out.println' args='`Hello World`'/></body></plhs>");
    }catch(ExceptionHTMLP e){
      e.printStackTrace();
    }
  }
}

More Info in Wiki!

Browser

In your project add PLHS and JwebAssembly and follow the JWebAssembly instructions, and Wiki by PLHS.

Credits

Jsoup