Thursday, May 16, 2013

Arcueid . one . 2


Developer:

License / Value :

Previous Updated :

Classification Additional plans
GPL v3 / FREE
May possibly 17th, 2013, 04: fifty four GMT [ look at history ]
ROOT / Programming / Interpreters

Arcueid is an open resource implementation of Paul Graham's Arc dialect of Lisp, in the C language. It is designed to act as a C interpreter.

Arcueid is supposed to be suitable with the 3. one edition of the Arc software, it characteristics a basic interface to C, and is simply usable as an extension language and an embedded interpreter.


Product's homepage

What's New in This Release : [ examine full changelog ]

· A lot of new features in this release. I have finally fixed the nested quasiquotes bug that has been out for much more than a 12 months. Readline appears to be to be functioning greater than it experienced in. 1. 1. Some bugfixes like memory leak concerns and rubbish collector issues. We now have gone back to using the Huelsbergen-Winterbottom VCGC algorithm for garbage selection. Huge file help is now readily available even on 32- bit devices, provided bignum assistance is also readily available. We have some normal expressions primarily based on the Plan nine /Inferno Normal Expression library (and it is for now similarly minimal ). The load operate is now built into the interpreter and load paths are now supported. And now there is a script manner so Arcueid can be applied in a shebang, e.g. it is now attainable to run a file with the executable bit established with the adhering to contents

· #!/usr/ local /bin/arcueid --script
· (prn (+ one 1 ))

· and that does what one expects.

Normal expressions are offered by means of the r/…/ syntax. Only standard stuff like character lessons, the Kleene star and furthermore operators, the ? operator, alternation, and capturing groups are supported. Many Perl/POSIX constructions are nonetheless unavailable, but quickly enough the regexp assist really should evolve to guidance numerous of the most handy capabilities. Hope to quickly be equipped to insert factors like counted repetitions, character course abbreviations like \d, and non-capturing groups. To use regexps, they can be used to strings, e.g.:

· arc> (r/(abc)(def)/ "zzzabcdefgh")
· ( three ("abcdef" "abc" "def"))

Which returns a checklist with the place of the match, and a record of all the capture teams, starting up with the complete string matched by the typical expression. Returns nil if the regexp failed to match. The =~ macro can be utilized, which binds $$ to the situation in the string the match obtained, and $ to the total matched portion, $ 1 to the 1st seize, and so on, very similar to the way Perl does it, e.g.:

· arc> (=~ r/(abc)(def)/ "zzzabcdefgh" ( checklist $ one $ 2 ))
· ("abc" "def")

· Load paths can be included by means of the loadpath- add purpose, which provides a listing to the load path list loadpath*.


Download button
Via: Arcueid 0.1.2

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...