Dear Sirs,
Dear Madam! I have a question? Why we do not use Lisp or Arc instead on HTML? If I click on a links the browser could load instead of and HTML file a lisp file. So you would not need to have JavaScript. Lisp is data + code. And in my mind as browser could directly eval the lisp instead of html+javascript and renders it. What you say about this? Instead of
<html>
<head>..</head>
<body>..</body>
</html> (arc
(settings ... {instead of <head>}
(load "common-styles.arc")
(styles
(hello
(font "10pt Arial")
(color "red"
)
)
)
(render ... {= instead of <body>}
(repeat 4
(box {insteaf of <div>} style "hello" "Hello World"))
(br)
(a href "www.arclanguage.org")
)
) Above is only a quick & dirty example without thought much about how the structure should look like. A HTML Parser written C is much more complicated then eval Lisp (Arc) with Lisp. Thank you for answers
ChrRe |