slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] SLIRP 1.7.4 released


Dear S-Lang Users,

Version 1.7.4 of SLIRP is now available at

	http://space.mit.edu/CXC/software/slang/modules/slirp

SLIRP is an automatic code generator which can dramatically reduce
the time and effort required to make C, C++, or FORTRAN code callable
directly from S-Lang (www.s-lang.org).  S-Lang is the scripting language
embedded within the Chandra analysis tools ISIS and Sherpa, as well as
other popular open-source applications.

SLIRP can also generate Makefiles to automate the module build process,
as well as pure C bindings for C++ code (cfront mode), or empty (stub)
implementations for the interface(s) specified by its input.  The latter
features are more general in nature, so as a result the emitted code has
no dependencies upon S-Lang whatsoever.

Finally, the author would like to acknowledge CFA colleagues Warren
McLaughlin, Chris Stawarz, and Douglas Burke, each of whom has made
useful testing, code, or documentation submissions.

Regards,
Michael S. Noble

---

Changes in v1.7.4
 1.	Support NULL default value for array/reference types in C++
 2.	The -v (version) option now also emits the S-Lang library version
 3.	Make reasonable attempt at cleaning up temp files generated by f2c
 4.	Don't use semi-private funcs _SLpath_find_file & _SLang_get_class_type
 5.	Fix bug seen when stripping C comments embedded w/in a func prototype
 6.	Type mapping of C++ bool is now customized by configure script
 7.	Version info (from -v) now includes revision level of current release
 8.	New C++ examples for bool type and omission of an array length parameter
 9.	C++ overloaded method dispatcher is now less strict when matching
	arrayed args, so that S-Lang may make the ultimate decision as to
	whether an array may be implicitly cast when calling a wrapper.
10.	Tweaked -print option implementation, which had fallen into disrepair
11.	get/set wrappers are now generated for scalar public C++ class fields
12.	Global variables may now be ignored, either via ignored_variables[], OR
13.	The #ignore annotation has been generalized to accept the name of any
	kind of ignorable symbol (function, macro, or global variable)
14.	int *OUT now shorthand for int *OUTPUT; ditto for similar #argmaps
15.	new -stubs option to generate empty implementations for input headers;
	this supports exercising the module interface without the need to link
	in the underlying library (or any of its dependencies)
16.	Demonstrate this with new examples/stub sample code
17.	Added $<n>_length metadata substitution, equivalent to $<n>_dim<0>
18.	Introduced -rename option as synonym for -mapnames (now deprecated);
	either form may now be specified multiple times at invocation

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]