SMX is a historical programming language created in 1998.

21Years Old 1,020Users 0Jobs

Example code from Wikipedia:

%expand%
%if(%not(%exists(/tmp/gbook.sq3))
        ,%sql(sqlite:/tmp/gbook.sq3,CREATE TABLE guests (name text, comment text))
)
%if(%and(%form(name),%form(comment))
    ,%sql(sqlite:/tmp/gbook.sq3,"INSERT INTO guests (name, comment) VALUES (%sqlq(%form(name)),%sqlq(%form(comment)))")
)
%sql(sqlite:/tmp/gbook.sq3,SELECT * FROM guests
        ,<p>%html-quote(%col(name)) said %html-quote(%col(comment))<hr>
         <p>
         <form action="%client-url%" method=post>
         <br>Name: <input name=name>
         <br>Comment: <input name=comment>
         <br><input type=submit>
         </form>
)
Edit

Last updated February 11th, 2019