zhtw.posthaven.com
Aleksej Lebedev's blog
http://zhtw.posthaven.com/posts.atom
Tag:zhtw.posthaven.com,2013:/posts. Tag:zhtw.posthaven.com,2013:Post/1090034. Chez Scheme binaries for FreeBSD and DragonFly. Just built a recent ChezScheme for FreeBSD 10.1 and DragonFly 4.6. I'll probably make proper packages for it later, but for until then here are the binaries:. FreeBSD: chz-4.9.1 fb.tar.bz2. DragonFly: chz-4.9.1 df.tar.bz2. Or if you want to build it yourself, here are the boot images:. In order to use them just unpack the appropriate version (or all of them) to. On code style guide.
zhtw.posthaven.com
Aleksej Lebedev's blog
http://zhtw.posthaven.com/tag/programming
Aleksej Lebedev’s blog. Laquo; Back to blog. On code style guide. When I write code I follow a very relaxed style guide. The ultimate principle is that every word in your program must serve a purpose. Even consistency is not considered a good thing if it doesn't make code more readable or safe. 1 Comments are not (always) good. Quite the opposite. The very necessity to write comments means that there is something. As a last resort, write a comment, but remember: your compiler won't read it. If a function...
rntz.net
rntz - Intuitive hygienic macros
http://www.rntz.net/post/intuitive-hygienic-macros.html
Of the many differences between Lisp and Scheme, that between their respective facilities for defining macros is one of the most glaring and controversial. If I may be permitted to generalize for the sake of illustration, Schemers detest the unhygienic nature of Lisp macros, while Lispers find Scheme's. Confusing and inflexible. Both arguments have merit, and several efforts have been made to remedy the situation, most notably the. Macro system available in several Schemes. Macro, which tests whether.
zhtw.posthaven.com
Common Lisp-style macros in Racket - Aleksej Lebedev's blog
http://zhtw.posthaven.com/common-lisp-style-macros-in-racket
Aleksej Lebedev’s blog. Laquo; Back to blog. Common Lisp-style macros in Racket. Today I put myself together and read a couple of sections of Racket documentation. Now I finally know how to implement Common Lisp-style macros in Racket. I'm still not 100% sure it will work exactly as expected but common cases work right. Datum- syntax stx (apply fn (cdr (syntax- datum stx) ) ) ). Lambda (sig . body). Sig) `(define-macro ,sig ,@body). Sig) `(define-macro ,(car sig) (lambda ,(cdr sig) ,@body) ).
rntz.net
rntz - Anarki updated to arc3
http://www.rntz.net/post/anarki-updated-to-arc3.html
Anarki updated to arc3. Note for regular readers (if I have any): this post is specific to the Arc. Community and probably incomprehensible to anyone outside it. So after much dithering on my part about how to handle the update to arc3, and especially regarding how to cleanly incorporate CatDancer's ideas about sharing hacks. I've decided to forget about all that difficult stuff and just use the old model. More on the reasons for that below, but first, what I've done to anarki. Respectively. The new.
snapvm.blogspot.com
Shared Nothing Arc Processes: the Virtual Machine: Shared Nothing Arc Processes: the introduction
http://snapvm.blogspot.com/2008/07/shared-nothing-arc-processes.html
Shared Nothing Arc Processes: the Virtual Machine. Is a new virtual machine designed for a massively multiprocess message-passing version of arc. Sunday, July 27, 2008. Shared Nothing Arc Processes: the introduction. Shared Nothing Arc Processes (SNAP) is a virtual machine designed for a massively multiprocess - where communications are done by shared-nothing message passing - implementation of Arc. Why shared-nothing message passing? Interesting, although I don't really like its syntax. Why do this, whe...
snapvm.blogspot.com
Shared Nothing Arc Processes: the Virtual Machine: 07/27/08
http://snapvm.blogspot.com/2008_07_27_archive.html
Shared Nothing Arc Processes: the Virtual Machine. Is a new virtual machine designed for a massively multiprocess message-passing version of arc. Sunday, July 27, 2008. Shared Nothing Arc Processes: the introduction. Shared Nothing Arc Processes (SNAP) is a virtual machine designed for a massively multiprocess - where communications are done by shared-nothing message passing - implementation of Arc. Why shared-nothing message passing? Interesting, although I don't really like its syntax. Why do this, whe...