Skip to content

Instantly share code, notes, and snippets.

@joebo
Created July 28, 2011 09:39
Show Gist options
  • Save joebo/1111290 to your computer and use it in GitHub Desktop.
Save joebo/1111290 to your computer and use it in GitHub Desktop.
(class +Person +Entity)
(rel nm (+Need +Sn +Idx +String)) # Name
(rel pa (+Joint) kids (+Man)) # Father
(rel ma (+Joint) kids (+Woman)) # Mother
(rel mate (+Joint) mate (+Person)) # Partner
(rel job (+Ref +String)) # Occupation
(rel dat (+Ref +Date)) # born
(rel fin (+Ref +Date)) # died
(rel txt (+String)) # Info
(de person ()
(app)
(action
(html 0 NIL "@lib.css" NIL
(form NIL
(gui '(+E/R +TextField +able) '(txt : home obj) 40)
(saveButton) ) ) ) )
### RUN ###
(de main ()
(pool "family") )
(de go ()
(rollback)
(server 8080 "!person") )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment