DeSrcKit

From Erights

Revision as of 22:51, 14 May 2009 by Kevin Reid (Talk)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

deSrcKit is a Data-E Kit which represents Data-E in E syntax.

Tests

Checking that arbitrary verbs work:

? <elib:serial.makeSurgeon>.withSrcKit("").serialize(
>   def x { 
>     to __optUncall() { return [1, "add(Number)", [1]] } 
>   }
> )
# value: "(def t__0 := 1).\"add(Number)\"(t__0)"

? <elib:serial.deSrcKit>.makeBuilder().buildCall("1", "add(Number)", ["1"])
# value: "1.\"add(Number)\"(1)"
This page is a stub; it should be expanded with more information. If doing so, check the original E web site and the mailing list archives for content which could be moved into this page.
Personal tools
more tools