./devel/arena, ANSI C like scripting language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.9.13, Package name: arena-0.9.13, Maintainer: pkgsrc-users

A lightweight scripting language based on ANSI C. The language uses a
syntax and library similar to that of ANSI C, but adds automatic
memory management and runtime polymorphism on top of that.

The Arena language was designed with the following main features in
mind, most of which were added on top of a very C-like core to support
better ad-hoc scripting:

* syntax similar to ANSI C
* standard library similar to ANSI C
* automatic memory management
* runtime polymorphism
* support for exceptions
* support for anonymous functions

Additionally, an interpreter for the Arena language can be implemented
to be very compact in terms of both source code size and memory

Master sites:

Filesize: 247.611 KB

Version history: (Expand)

CVS history: (Expand)

   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:

The following distfiles were unfetchable (note: some may be only fetched

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2009-06-14 19:49:18 by Joerg Sonnenberger | Files touched by this commit (454)
Log message:
Remove @dirrm entries from PLISTs
   2008-07-18 15:56:42 by OBATA Akio | Files touched by this commit (3)
Log message:
Update arena to 0.9.13.
Patch provided by Leonardo Taccari in PR 39142.

While here define test target, confirmed to pass all tests on NetBSD/i386 4.0.

Version 0.9.13
04 Sep 2007

 - make static methods calling each other work correctly

Version 0.9.12
19 Aug 2007

 - change system() library function to return raw exit code

Version 0.9.11
14 Aug 2007

 - change signature type to also contain the function name
 - add function_name() library function

Version 0.9.10
07 Jan 2007

 - fix documentation of gmtime() and localtime() to list needed argument
 - add mputstring() and mgetstring() library functions
 - add cfloat() library function for calling C function that expect "float"
   instead of "double"
   2008-06-12 04:14:58 by Joerg Sonnenberger | Files touched by this commit (1134)
Log message:
Add DESTDIR support.
   2006-11-16 22:52:19 by Alistair G. Crooks | Files touched by this commit (3)
Log message:
Upgrade arena from version 0.9.8 to 0.9.9.

Changes in this version include:

	This release fixes a possible double free problem in the
	printf() implementation.  The problem occurred when more
	conversion specifiers than function arguments were present and
	the format required a cast from the dummy void value used by
	the implementation to another type.  Thanks to Dennis Heuer
	for reporting the problem.

	Also based on a suggestion by Dennis, the interpreter no
	longer allows non-terminated escape sequences in string
	literals.  In other words, a string literal may no longer end
	in a backslash character.

	Alistair Crooks provided a couple of new example scripts that
	include interfacing to native C libraries under NetBSD.  He
	also suggested to allow hexadecimal integer literals.  These
	are now allowed and need to be prefixed with "0x".  For
	example, "0xFF" or "0xff" is the same as writing \ 

	Fabian Tschiatschek provided a patch to allow extra arguments
	to be passed to map, filter, foldl, foldr, drop_while, and
	take_while.  These are passed down into the function provided
	as the first argument.  Fabian also noticed that the
	documentation and implementation of foldr did not agree about
	the order of arguments.  The implementation was changed to
	match the language manual.

	There is a new library function called is_null that can check
	whether a memory resource contains a C NULL pointer.

patch-ab has now been removed since, with the inclusion of is_null(), there
is no need for it.