1. BLISS
- Posted by kbochert at ix.netcom.com Apr 08, 2002
- 411 views
-------Phoenix-Boundary-07081998- I have just released my 'Extended Euphoria' to the RDS user submissions. This version is free, but displays a sign-on message. BLISS is a Euphoria derivative that adds: 1) leading comma allowed on declaration lists 2) nesting block comments 3) variable initialization 4) local variable initialization 5) slicing shorthands 6) relative include file paths 7) single key exit 8) goto 9) Exceptions (throw-catch) 10) structures with inheritance and dot-notation 11) Pass-by-reference (for structures only) 12) cdecl routines allowed in DLL (if not returning float or struct) BLISS is an acronym for: Better Language for Interpreting Sequences and Structures. (Just trying to live up to the RDS standard for lame acronyms ) It seems to run no worse than 10% slower than Euphoria. Attached are the test files that it currently runs -- the only documentation at this time. Comments and bug reports are welcome. Karl Bochert -------Phoenix-Boundary-07081998- Content-type: application/zip; Name=BlissTST.zip
2. Re: BLISS
- Posted by tone.skoda at siol.net Apr 16, 2002
- 411 views
I like it because it supports classes. I might use this, mainly because it supports classes (structures). Though I don't like pressing !, will that change sometimes soon? I have a suggestion: these two routines would be usefull: integer class_id = get_class_id (MYCLASS myclass) MYCLASS myclass = get_class_from_id (integer class_id) esspecially if we were able to append an integer to any window handle, but that is already taken in win32lib unforunately. A lot of stuf in Windows has wParam or lParam into which you can save your own data, so we could save id of class in there, and then simply get class from that id when we need data from that class. ----- Original Message ----- From: <kbochert at ix.netcom.com> To: "EUforum" <EUforum at topica.com> Sent: Monday, April 08, 2002 9:37 PM Subject: BLISS I have just released my 'Extended Euphoria' to the RDS user submissions. This version is free, but displays a sign-on message. BLISS is a Euphoria derivative that adds: 1) leading comma allowed on declaration lists 2) nesting block comments 3) variable initialization 4) local variable initialization 5) slicing shorthands 6) relative include file paths 7) single key exit 8) goto 9) Exceptions (throw-catch) 10) structures with inheritance and dot-notation 11) Pass-by-reference (for structures only) 12) cdecl routines allowed in DLL (if not returning float or struct) BLISS is an acronym for: Better Language for Interpreting Sequences and Structures. (Just trying to live up to the RDS standard for lame acronyms ) It seems to run no worse than 10% slower than Euphoria. Attached are the test files that it currently runs -- the only documentation at this time. Comments and bug reports are welcome. Karl Bochert
3. BLISS
- Posted by jordah ferguson <jorfergie03 at yahoo.com> Jul 10, 2002
- 421 views
i have had trouble with BLISS examples. i downloaded the dll just as you said in your instructions and loaded carefully the way u said. i now get windows errors. saying the program caused an invalid...@##@$ whatever. i know i haven;t given enuff info of what is going on. i'll keep you informed meaN while repeat the instructions for getting the examples to work. i use win98 SE jordah kbochert at ix.netcom.com wrote: > -------Phoenix-Boundary-07081998- > > > ( Adventures in optimization ) > > While considering extensions for Bliss, I thought it > might be useful to have a built-in exchange function: > > exchange (aseq, elem1, elem2) > > which would exchange the two elements of aseq in-place -- > no excess copying, a single set of typechecks etc. > > The primary use for this is in a sort routine, whose major > time wasters are comparison and element exchange. > It took about 15 min. to add and debug it, and I ran some > benchmarks: > 1000 random pairs of characters -- WCC > Esort -- the sot routine in the Euphoria library > Qsort -- quicksort using normal Euphoria code > Bsort -- quicksort using the Bliss built-in exchange() > > Esort 210 sorts/sec > Qsort 235 sorts/sec > Bsort 122 sorts/sec !! ??WHAT?? !! > > After 2 days of refusing to accept this result, I looked > at the code that did the exchange. After overhead, this > amounted to 5 lines of C code. I tried it a slightly > different way using 6 lines of C. With no other changes > the results were: > > Esort 205 sorts/sec > Qsort 234 sorts/sec > Bsort 277 sorts/sec > > It is humbling to think of how much of this kind of thing > Rob must have done on Euphoria. In 6 months of work I have > yet to find a single speed improvement to his code! > > Karl Bochert > > > -------Phoenix-Boundary-07081998--- >