<ayrnieu>
That page doesn't really explain what it means by 'lightweight scripting languages', or even what 'lightweight' means, except to refer to languages that it holds as examples of 'lightweight' or otherwise. It doesn't even explain what it means by 'scripting language', except to imply that such languages have C-embeddability as a significant feature.
<ayrnieu>
So please ask a question in your own terms.
<lms>
I say yes
<pattern>
yeah, one of the replies to that guy's question noted the vagueness
<pattern>
it's an interesting thought, though
<ayrnieu>
It seems mistitled, anyway. I think he really wants to ask about 'lightweight extension languages'.
<ayrnieu>
I don't really understand what thought you refer to, sorry.
<ayrnieu>
also, see what thought.
<pattern>
personally, i'd say a lightweight scripting language should be one that can be embedded in a typical appliance, like a vcr
<ayrnieu>
OK, but please don't ever use 'scripting language' for such a classification.
<pattern>
ok :)
<pattern>
i'm easy
<pattern>
"extension language"
<ayrnieu>
No, "extension language" doesn't fit with your described classification either.
<ayrnieu>
Anyway, I'd probably use Forth for that VCR =)
<pattern>
traitor!
<pattern>
:)
<ayrnieu>
eh, no, just practical as far as VCRs go.
<lms>
the Io site has an interesting page as far as "language size" goes
<ayrnieu>
The Io site also has too much of its author's fairly silly opinions =)
Herrchen has quit [Read error: 60 (Operation timed out)]
<lms>
Scheme48's code is for pre-scheme, there is still a lot of pre-scheme code in it yo make the whole of what it is...
<lms>
like what ayrnieu?
<pattern>
there's no ocaml on that io site
<ayrnieu>
"All are dynamically typed except Java which is statically typed(this makes Java less flexible). All are strongly typed except Perl which is weakly typed(this makes Perl prone to memory access error crashes)."
<pattern>
"No attempt was made to remove comments"
<lms>
sorry pattern, I was responding to the general question about scripting languages :)
<pattern>
that makes the statistics meaningless right there
<lms>
hehe!
<lms>
like I said... heh
<pattern>
some poorly commented code would rate as a "small language"
<lms>
or poorly formated :)
* lms
makes a one line Scheme interpreter
<pattern>
also, obfuscated source with everything on one line would automatically win :)
<lms>
haha :D
<pattern>
and it ignores expressiveness of the source language, and assumes all languages are written in c
<pattern>
and then there's the skill of the programmer to take in to account
<lms>
heh, I've never actually read this guys page
<pattern>
it'd probably be better to rate on the size of the resulting binary, with maximum optimization
<lms>
I don't like smalltalk like languages...
<ayrnieu>
lms - how many have you dealt with?
<lms>
just smalltalk :)
<lms>
well, squeak
<ayrnieu>
I've only ever really played with Slate, which has smalltalk-like syntax. Smalltalk itself has never really drawn my interest.
<lms>
personal opinion though, not trying to say they suck
<lms>
the main reason I'm interested in ocaml is the speed of its compiler
<lms>
and I know that's probably a lame reason, but I'm just being honest :)
<ayrnieu>
No, not a lame reason.
<pattern>
speed's a big factor in my choice of ocaml also
<pattern>
but it has a lot of other advantages also
<pattern>
no need to preach to the converted, though :)
<ayrnieu>
(I sometimes think of O'Caml as the language to use instead of C.)
<ayrnieu>
indeed.
<Riastradh>
ACTION arrives belatedly to the conversation and continues lms's comment about Scheme48's VM: not only is the VM really written in [Pre-]Scheme, and not only is there less than half the amount of Pre-Scheme -- modulo comments -- in the Scheme48 VM as they claim, but also what they're measuring is not just the amount of C in the VM source generated by the Pre-Scheme compiler but also everything else related to C in the source,
<Riastradh>
If you take just the Pre-Scheme in the VM, hmm, you happen to get _less_ than in the Io VM...
lms has quit [Read error: 104 (Connection reset by peer)]
lms has joined #ocaml
<tomasso>
anyone tried compiling the cameleon ide??
<tomasso>
because when i do make it returns:
<tomasso>
File "/root/tmp/camlppee3922", line 155, characters 31-32:
<tomasso>
Expecting function has type x:int -> y:int -> unit
<tomasso>
This argument cannot be applied with label ~button
<tomasso>
make[3]: *** [gpattern.cmo] Error 2
<tomasso>
...
<tomasso>
..
<lms>
on windows here, so nope, sorry
<lms>
looks really cool tho
pattern has quit [Read error: 110 (Connection timed out)]
Herrchen has joined #ocaml
pattern has joined #ocaml
ott has joined #ocaml
<ott>
re all
pattern has quit ["..."]
brwill[out] has quit [Read error: 110 (Connection timed out)]
<lms>
Reference to undefined global `Graphics'
<lms>
what's that mean? :(
<lms>
ahh, nm
lms has quit []
ott has quit ["× ÒÅÂÕÔ"]
_JusSx_ has joined #ocaml
ott has joined #ocaml
maihem has quit ["Client exiting"]
tomasso has quit [Read error: 104 (Connection reset by peer)]
ott has quit ["BitchX-1.0c16 -- just do it."]
drlion has quit [Read error: 104 (Connection reset by peer)]
drlion has joined #ocaml
maihem has joined #ocaml
Smerdyakov has joined #ocaml
Smerdyakov has quit ["no"]
avn has joined #ocaml
tomasso has joined #ocaml
det has quit ["changing servers"]
<tomasso>
are there video games written in SDL??
<tomasso>
written using the sdl libraries, in ocaml, sorry :D
<avn>
tomasso: I saw two or three - look at humps
<avn>
I also have a question
<tomasso>
humps? let me check :D
<tomasso>
what question?
<avn>
I try to write small parser as pointed in O'Reily book
<avn>
let rec myparser foo = match foo with parser [< 'Kwd .....
<avn>
And I can't compile it
<tomasso>
hmh what does it return?
<avn>
I got a syntax error at [<
<avn>
May be some options to compiler must be specified?
<clausjohnson>
Try doing 'open Genlex'
<clausjohnson>
Just just using like match foo with Kwd k -> stuff | Int i -> more_stuff ...
<clausjohnson>
instead of using that [< stuff
<avn>
file have 'open Genlex' clause
<avn>
clausjohnson: [< syntax is obsoletted?
<clausjohnson>
I don't know about that for sure, but [< 'Kwd k >] never worked for me
<clausjohnson>
whereas just Kwd k does
clausjohnson is now known as cjohnson
<avn>
And what i need to wrote small syntax parser?
<avn>
I won't use ocamlyacc because in this syntax commands separator may be changed dynamically form '\n' to ';', or back]
<avn>
May be you point me to some actual docs of FAQ?
<avn>
cjohnson: how i can use Genlex?
<cjohnson>
Just look at the reference docs in the ocaml manual, that's what I did anyway