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
Tuesday, December 11, 2012
Japanese vocabulary
The Curl web applet at http://www.aule-browser.com/kanji/jlpt-5-1.curl has a curious property − can you spot it ?
hint: click in vertical slider; resize page; click again.
note: a Curl applet will only run with the Surge RTE browser plugin from www.curl.com installed.
Monday, December 3, 2012
How to enable the Curl plugin in Google Chrome browser
With the latest updates - whether to Chrome or to Curl - my own Curl applets ceased to run in my Chrome browser.
There was no warning and the plugins are not in the Tools list.
The cure is to enter
as a URI in the address bar and then set the Curl Surge RTE plugins to Always allowed.
There was no warning as with either Java or Adobe Flash.
NOTE: on that plugins page, the Curl plugins were NOT listed as DISABLED !
Google has decided that they know what is best for what they view as "little used plugins" - something decidely anti-competitive.
There was no warning and the plugins are not in the Tools list.
The cure is to enter
chrome://plugins/
as a URI in the address bar and then set the Curl Surge RTE plugins to Always allowed.
There was no warning as with either Java or Adobe Flash.
NOTE: on that plugins page, the Curl plugins were NOT listed as DISABLED !
Google has decided that they know what is best for what they view as "little used plugins" - something decidely anti-competitive.
Saturday, December 1, 2012
Curl in Puppy linux
The latest release of the Curl web language browser plugin (8.0.03 for curl9) is now running in my RAM-resident Puppy linux on this old Asus 900A netbook - it boots from an SD chip thanks to grub.
Gettting Curl to run required going into a bin in the path as root and adding a sym-link to surge-do over in /opt/curl/surge/9/bin/surge-do which made possible manually launching the Surge manager, the Curl docs viewer and the development IDE.
What remained was to get Curl applets to run in SeaMonkey and Firefox browsers. That required visit as root to /usr/lib/mozilla/plugins and the creation of 3 sym-links to the 3 key .so files in /opt/curl/surge/9/lib
EX:
su
cd /usr/lib/mozilla/plugins
ln -s /opt/curl/surge/9/lib/libcurl-surge-8-0.so ./libcurl-surge-8-0.so
and ditto for 7-0 and for the generic libcurl-surge.so
Gettting Curl to run required going into a bin in the path as root and adding a sym-link to surge-do over in /opt/curl/surge/9/bin/surge-do which made possible manually launching the Surge manager, the Curl docs viewer and the development IDE.
What remained was to get Curl applets to run in SeaMonkey and Firefox browsers. That required visit as root to /usr/lib/mozilla/plugins and the creation of 3 sym-links to the 3 key .so files in /opt/curl/surge/9/lib
EX:
su
cd /usr/lib/mozilla/plugins
ln -s /opt/curl/surge/9/lib/libcurl-surge-8-0.so ./libcurl-surge-8-0.so
and ditto for 7-0 and for the generic libcurl-surge.so
Saturday, October 13, 2012
Unicode to kanji
I have a small Curl applet at kanji.aule-browser.com which works as you see below ( before and after a request )
The original JPG is at http://kanji.aule-browser.com/unicode-to-kanji.jpg
The original JPG is at http://kanji.aule-browser.com/unicode-to-kanji.jpg
Thursday, August 2, 2012
factory naming
My plea over at curlap.com is this Monday-morning on Thursday-morning whine:
I wonder if a Curl engineer has a moment to add from-String to those classes using from-string as that is generally our pattern and as we also only have to-String
Such a small but maddening thing
( yes, I know: "consistency is the ... " ;-)
humor: APL from STSC had "laod" as well as "load" - just as some Smalltalkers need "slef" for "self" ...
Saturday, July 21, 2012
{value } and {example }
Here is some code from the {stringify } docs in Curl using the {example } macro
{value let str:String =
{stringify {define-proc public {foo}:void
{output "hi"} || a comment
}
} {pre {value str}} }
The equivalent in the {example } macro or within an applet is
{let str:String =
{stringify {define-proc public {foo}:void
{output "hi"} || a comment
}
} } {pre {value str}}
which I find strikes many first time users as not obvious.
Where {value } is required is in cases such as within an applet
{applet name="our value example"} def str = "some text" {Frame height=20pt, width=200pt, {text {value str} and some more text} }
to avoid the result without the embedded {value } expression which would be
str and some more text
so as to obtain the intended
some text and some more text
The remarkable thing about the Curl docs is that you can experiment with the code changes within the documentation example page, run the code, save the code or restore the original code (and even go into the applet manager and exit misbehaving code.)
Here is a snapshot: (we have clicked execute and the applet is running)
If you click on the image you will see the {example } macro has buttons for execute, revert, save and to close the popup (applet) {View }.
Friday, July 20, 2012
Save Knowtes
I was force to add a SAVE button to my web page notepad and its for scratch note areas.
The details are posted over at the Curl Community.
The local web app on my PC now has these before and after:
and
The details are posted over at the Curl Community.
The local web app on my PC now has these before and after:
and
Subscribe to:
Posts (Atom)


