Skip to content

Instantly share code, notes, and snippets.

View cgay's full-sized avatar
👖
Pants

Carl Gay cgay

👖
Pants
View GitHub Profile
@cgay
cgay / test-gist.dylan
Created January 3, 2011 18:28
test gist
test gist
@cgay
cgay / chekout-libs.sh
Created March 5, 2011 05:05
clone all libraries/* into the current directory...
for name in anaphora base64 collection-extensions command-line-parser doctower dynamic-binding graph-viewer graphviz-renderer gui-testworks http inertia logging matrix meta mime monday opendylan.org peg-parser priority-queue registry regular-expressions sandbox sequence-stream skip-list slot-visitor state-machine strings template-engine testworks testworks-report testworks-specs turboblog uncommon-dylan uri web-framework wiki wrapper-streams xml-parser xml-rpc xmpp xmpp-bot zlib; do
git clone git@github.com:dylan-lang/${name}.git
done
@cgay
cgay / make-dylan-app-link-failure.log
Created March 17, 2012 20:57
make-dylan-app link failure
@cgay
cgay / gist:6217601
Last active December 21, 2015 00:08
Build output for hello-world with and without -verbose flag.
Ignoring warnings it's 43 lines...
Welcome to Open Dylan
Version 2013.2pre1
Copyright (c) 1997-2004, Functional Objects, Inc.
Portions Copyright (c) 2004-2013, Dylan Hackers
Portions Copyright (c) 2001-2012, Ravenbrook Ltd.
Opened project hello-world (/home/cgay/dylan/hello-world/hello-world.hdp)
Loading namespace for library hello-world
Updating definitions for library dylan
@cgay
cgay / 3-stage-bootstrap.txt
Created August 18, 2013 21:42
Another 3-stage-bootstrap
~/dylan/src/opendylan (warnings)*$ ./autogen.sh
*** Hello, there! ***
*** Please ignore errors and warnings from automake. ***
*** Thanks! ***
configure.ac:18: installing `build-aux/config.guess'
configure.ac:18: installing `build-aux/config.sub'
configure.ac:61: installing `build-aux/install-sh'
configure.ac:61: installing `build-aux/missing'
automake: no `Makefile.am' found for any configure output
@cgay
cgay / current-process-id.diff
Created August 28, 2013 01:52
current-process-id
~/dylan/src/opendylan/sources (system)*$ git diff
diff --git a/sources/system/library.dylan b/sources/system/library.dylan
index 587f381..779a1c9 100644
--- a/sources/system/library.dylan
+++ b/sources/system/library.dylan
@@ -66,7 +66,9 @@ define module operating-system
create-application-event,
wait-for-application-event,
signal-application-event,
- load-library;
@cgay
cgay / gist:6401784
Created September 1, 2013 01:34
warnings
Warnings in dylan library:
-----------------------
Warning - The binding prepend is created in [MODULE dylan-extensions] but never defined.
Warning - The binding limited-list-rest-setter is created in [MODULE dylan-extensions] but never defined.
Warning - The binding limited-list-rest is created in [MODULE dylan-extensions] but never defined.
Warning - The binding limited-list-first-setter is created in [MODULE dylan-extensions] but never defined.
Warning - The binding limited-list-first is created in [MODULE dylan-extensions] but never defined.
Warning - The binding <empty-limited-list> is created in [MODULE dylan-extensions] but never defined.
Warning - The binding <non-empty-limited-list> is created in [MODULE dylan-extensions] but never defined.
@cgay
cgay / gist:6900939
Created October 9, 2013 13:04
segfault in dylan-compiler -build common-dylan-test-suite-app
#0 0xb7a14b5e in Kread_intoXYstreams_protocolVcommon_dylanMioM1I () from /home/cgay/dylan/opendylan-current/bin/../lib/libio.so
#1 0xb7786593 in Kread_object_using_class_atVdoodMM18I () from /home/cgay/dylan/opendylan-current/bin/../lib/libdood.so
#2 0xb777179c in Kread_addressVdoodI () from /home/cgay/dylan/opendylan-current/bin/../lib/libdood.so
#3 0xb777b195 in Kread_object_using_class_atVdoodMM11I () from /home/cgay/dylan/opendylan-current/bin/../lib/libdood.so
#4 0xb777179c in Kread_addressVdoodI () from /home/cgay/dylan/opendylan-current/bin/../lib/libdood.so
#5 0xb776f19f in Kdood_force_slot_value_proxyVdoodI () from /home/cgay/dylan/opendylan-current/bin/../lib/libdood.so
#6 0xb722ec56 in Kexported_namesVdfmc_namespaceMM0I () from /home/cgay/dylan/opendylan-current/bin/../lib/libdfmc-namespace.so
#7 0xb722f81d in Kupdate_importsVdfmc_namespaceMM0I () from /home/cgay/dylan/opendylan-current/bin/../lib/libdfmc-namespace.so
#8 0xb722e300 in Kcompute_importsVdfmc_namespaceI () from /home/cgay/dyl
cgay-macbookpro2:testworks cgay$ lldb /Users/cgay/dylan/src/opendylan/sources/_build/bin/common-dylan-test-suite-app
Current executable set to '/Users/cgay/dylan/src/opendylan/sources/_build/bin/common-dylan-test-suite-app' (i386).
(lldb) process launch
process launch
Process 26710 launched: '/Users/cgay/dylan/src/opendylan/sources/_build/bin/common-dylan-test-suite-app' (i386)
1 - new value from Cond-incrementer 0
2 - new value from Cond-incrementer 1
1 - new value from Cond-decrementer 0
0 - new value from Cond-decrementer 1
1 - new value from Cond-incrementer 0
Optimizing testworks
Optimizing library.dylan
Optimizing testworks.dylan
Optimizing components.dylan
/Users/cgay/dylan/src/testworks/tests.dylan:173-212: Warning - Result type check can fail - type-union(values(<stretchy-object-vector>, singleton(crashed :: <symbol>), <string>, <object>, <object>), values(<stretchy-object-vector>, singleton(crashed :: <symbol>), singleton(#f :: <boolean>), <object>, <object>), values(<stretchy-object-vector>, singleton(nyi :: <symbol>), <string>, <object>, <object>), values(<stretchy-object-vector>, singleton(nyi :: <symbol>), singleton(#f :: <boolean>), <object>, <object>), values(<stretchy-object-vector>, singleton(passed :: <symbol>), <string>, <object>, <object>), values(<stretchy-object-vector>, singleton(passed :: <symbol>), singleton(#f :: <boolean>), <object>, <object>), values(<stretchy-object-vector>, singleton(failed :: <symbol>), <string>, <object>, <object>), values(<stretchy-object-vector>, singleton(failed :: <symbol>), singleton(#f :: <boolean>), <objec