|Pliant announce forum
Pliant release 41
This debate has been automatically converted from the old Pliant forum
|Message posted by maybe email@example.com on 2000/07/19 01:01:23
Here is Pliant release 41.
This should be a great release since it contains mainy long awaited features:
- C speed thanks to the GCC interface that can now be compiled as the very
first module. Use:
to get the debugging level 0 PDEE compiled using GCC optimizer.
- A few sample optimizers.
- A new consistent set of generic set data types.
- OpenBSD port.
GCC interface should be no problem since it's optional, also there is
a problem with the way Pliant writes to /tmp/ directory (will be solved
This is is a sample code that will demonstrate how you can use GCC
function fact x -> y
arg Int x y
y := 1
y := x*(fact x-1)
You first need to precompile using 'gcc' option (see above), then run
Pliant at debugging level 0, and you will get a C listing of Pliant fact
function in /tmp/fact.c
Even it you have precompiled the PDEE with 'gcc' option, GCC interface
will swich off at the end of the PDEE, so if you want one of your applications
to be compiled using GCC optimizer, you have to add the two following lines:
and call it using
pliant debug 0 module ...
or call it through something like:
pliant debug 0 module /pliant/language/compiler.pli command gcc_on module ...
One last thing about GCC interface: it does not work under Win32 since it
You can find sample Pliant extra optimizers at the end of
and a simpler one in function 'optimize_constant_text' in module
The new set of set data types (List, Array, Dictionary and Index) is probably
buggy, so post bug reports and comments about the set of methods I choosed
on the forum.
It's basicaly documented at http://pliant.cx/pliant/language/type/set/
The OpenBSD port raised a few questions about the Pliant internal debugger,
so I have to clarify.
|Message posted by maybe Patrice Ossona de Mendez on 2000/07/19 13:24:23
|Announced on freshmeat; rectifications sent to SAL.
|Message posted by maybe Hubert Tonneau on 2000/07/20 14:36:20
|Looks like the new generic data sets (List, Array, Dictionary, Index)
are full of bugs.
|Message posted by maybe Hubert Tonneau on 2000/07/20 21:55:08
|I've uploaded a less buggy version of the new generic data sets types.
It's available at:
|Message posted by maybe Hubert Tonneau on 2000/07/21 13:22:13
|It would be better to record release 40 as stable and release 41,
which has many bugs, as development.