[racket] Why did a LISP-like language never made it to THE language for Web2.0
Greetings.
A couple of points...
On 2014 Jan 15, at 18:58, Frank Weytjens <fweytjens.android at gmail.com> wrote:
Parenthetically:
> Found a nice package on CTAN <http://www.ctan.org/>, but was not root on my
> own PC. So I couldn't add it to the already installed packages.
TeX has an elaborate search path, which is intended to include user-writable directories for precisely this purpose. For example ~/local/texmf/... might be in that path.
The way to find out what that path is, is to run
% kpsepath tex
and make some educated guesses based on the output of that (this output is unfortunately intended to be machine- rather than human-readable).
Use
% kpsewhich foo.sty
to check whether an installed file is indeed showing up in the search path.
Returning to Racket:
> I don't know about the existence of webpages that are generated
> 'Racket-wise.'
> I just checked racket-lang.org, did a 'view source' and noticed
> in the metadata: name => generator content =>racket
> So it does exist!?
Have a look at the xml library <http://docs.racket-lang.org/xml/index.html?q=xexpr>. You can easily construct an xexpr such as
'(doc () "over " (em () "9000") "!")
using whatever means you like, and then use xexpr->string to serialise this to XML. That's how _I_ generate most of my XML/XHTML. XML is basically just sexps with weird brackets.
All the best,
Norman
--
Norman Gray : http://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK