Skip to content

JerryI/wl-wsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WolframScript Pages

Hypertext preprocessor (template engine) built on top of Wolfram Kernel

2023 update! please consider to use a successor of WSP - Wolfam Language XML

Official Wolfram Paclet Page

Link

PacletInstall["JerryI/WSP"]

See more examples @ TinyWeb

Imagine PHP or JSP, but using Wolfram Language. Easy to use, feels like plain HTML

<?wsp Now//TextString ?>
Thu 22 Jun 2023 23:43:21

Use together with modules

index.wsp

<body>
    <?wsp LoadPage["c/mycomponent.wsp", {title = "Title"}] ?>
</body>

c/mycomponent.wsp

<h1><?wsp title ?></h1>

or any Wolfram Language expressions

tables

<ul>
<?wsp Table[ ?>
    <li><?wsp RandomWord[] ?></li>
<?wsp , {i, 10}] >
</ul>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published