Notes on the Curl web programming language and Curl markup using the Curl Surge Runtime Engine (RTE), the expression-based Curl language and Curl's macro facilities and class libraries
Pages
on the Curl Web Content Markup Language
on the Curl Web Content Markup and Programming Language from www.curl.com and www.curlap.com
Sunday, July 15, 2012
Difference Proc
Over at http://kanji.aule-browser.com/ I have added a page with the Japanese kanji listed in the top 2500 in kanjidic2 but not in the Joyo kanji list.
This Curl applet is based on serialized array generated from a set-set difference.
The problem that I encountered generating this was that the {value-hash } and {equal } proc's to specifiy element identity in these parameterized sets could not be anon proc's and indeed could not even be class proc's due to a Curl compiler non-compile-time constant complaint.
Contrary to the docs, the proc's must be locally defined and named in the applet with simple {define-proc } macros.
The kanji Curl applet is in an HTML wrapper at http://www.aule-browser.com/kanji/kanjidic2-non-joyo.html and looks as follows:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment