2014-11-06T03:34:17Z ccl-logbot joined #scheme 2014-11-06T03:34:17Z 2014-11-06T03:34:17Z names: ccl-logbot Rodya_ joast davexunit adu Hcnsh ProbonoBonobo jusss tobik zv robot-beethoven jeapostrophe leo2007 rtra araujo Sgeo atomx dsp Nshag BitPuffin BossKonaSegwaY tcsc cibs MichaelRaskin pjb DGASAU Shadox psy_ TrueShiftBlue cjh` oleo Vutral asumu bb010g_ abbe leppie taylanub swilr masm hiyosi stamourv dmiles pyon effy copec karswell tadni Rubix rudybot kbtr Soft haroldwu carc cdidd_ githogori benaiah turbofail ski mutley89 rsf girrig gf3 2014-11-06T03:34:17Z names: mark_weaver _5kg Kruppe weinholt edw wilfredh fadein cataska chameco sethalves lloda` Natch pjdelport fikusz C-Keen tessier zeroish hellome peterhil acarrico ohama Intensity acieroid Kryo mario-goulart omefire1 Khisanth ozzloy xenophon` eli ivanshmakov Neet twem2 joneshf mornfall c74d nisstyre cmatei jkraemer bpalmer defanor choas sav Riviera gluegadget cojy kwmiebach superjudge Kabaka gabot jrslepak eMBee vukcrni gnomon utkarsh ecraven klltkr 2014-11-06T03:34:19Z names: CoverSlide ELLIOTTCABLE ggherdov aksatac jcloud ivan\ juanfra diginet Blkt amoe kilimanjaro ByronJohnson tali713 emma pchrist DerGuteMoritz LeoNerd SHODAN petercommand FracV akkad duncanm niklasl certainty arrdem klutometis evhan yosafbridge dca rotty_ tstc zbigniew SirDayBat tsuyoshi sigjuice GGMethos poucet cross clog micro^ samth balkamos aking serhart dpk antoszka fizzie ctindall averell greghendershott cky dytrivedi_ Saeren_ byte48 dan64 offby1 2014-11-06T03:34:19Z names: z0d mikeyhc nitrix eagleflo amgarching pygospa aap mrowe ft fgudin teiresias necronian Razz finnrobi 2014-11-06T03:34:19Z Hcnsh quit (Ping timeout: 272 seconds) 2014-11-06T03:34:19Z anannie joined #scheme 2014-11-06T03:34:58Z jusss is now known as blab 2014-11-06T03:37:05Z frkout joined #scheme 2014-11-06T03:41:10Z frkout_ joined #scheme 2014-11-06T03:41:58Z ddp joined #scheme 2014-11-06T03:42:33Z mrowe is now known as mrowe_away 2014-11-06T03:43:22Z kongtomorrow joined #scheme 2014-11-06T03:44:18Z frkout quit (Ping timeout: 255 seconds) 2014-11-06T03:47:52Z BitPuffin quit (Ping timeout: 240 seconds) 2014-11-06T03:54:49Z atomx quit (Ping timeout: 245 seconds) 2014-11-06T03:56:57Z jeapostrophe quit (Ping timeout: 244 seconds) 2014-11-06T04:02:26Z davexunit quit (Quit: Later) 2014-11-06T04:17:55Z rtra quit (Ping timeout: 244 seconds) 2014-11-06T04:18:34Z oleo__ joined #scheme 2014-11-06T04:19:18Z oleo is now known as Guest1825 2014-11-06T04:19:30Z rtra joined #scheme 2014-11-06T04:19:59Z Guest1825 quit (Ping timeout: 244 seconds) 2014-11-06T04:20:18Z blab quit (Ping timeout: 255 seconds) 2014-11-06T04:23:16Z frkout_ quit (Read error: Connection reset by peer) 2014-11-06T04:25:11Z frkout joined #scheme 2014-11-06T04:25:39Z frkout_ joined #scheme 2014-11-06T04:29:24Z frkout quit (Ping timeout: 250 seconds) 2014-11-06T04:34:25Z ehaliewicz joined #scheme 2014-11-06T04:38:49Z offby1- joined #scheme 2014-11-06T04:40:00Z mrowe_away is now known as mrowe 2014-11-06T04:43:46Z kongtomorrow quit (Read error: Connection reset by peer) 2014-11-06T04:43:52Z kongtomo_ joined #scheme 2014-11-06T04:57:25Z offby1- quit (Quit: Using Circe, the loveliest of all IRC clients) 2014-11-06T04:58:21Z neurokraft joined #scheme 2014-11-06T04:59:23Z neurokraft quit (Client Quit) 2014-11-06T05:00:09Z mrowe is now known as mrowe_away 2014-11-06T05:00:55Z ProbonoBonobo quit (Read error: Connection reset by peer) 2014-11-06T05:01:24Z ProbonoBonobo joined #scheme 2014-11-06T05:01:47Z mrowe_away is now known as mrowe 2014-11-06T05:02:04Z MichaelRaskin quit (Quit: MichaelRaskin) 2014-11-06T05:02:34Z cbsw joined #scheme 2014-11-06T05:04:30Z anannie quit (Ping timeout: 250 seconds) 2014-11-06T05:08:25Z frkout_ quit (Read error: Connection reset by peer) 2014-11-06T05:09:59Z Guest33690 joined #scheme 2014-11-06T05:11:05Z frkout joined #scheme 2014-11-06T05:11:15Z adu quit (Quit: adu) 2014-11-06T05:11:19Z cbsw quit (Remote host closed the connection) 2014-11-06T05:11:36Z frkout_ joined #scheme 2014-11-06T05:14:27Z Guest33690 quit (Ping timeout: 244 seconds) 2014-11-06T05:15:28Z frkout quit (Ping timeout: 256 seconds) 2014-11-06T05:16:31Z mark_weaver quit (Ping timeout: 244 seconds) 2014-11-06T05:19:12Z frkout joined #scheme 2014-11-06T05:20:41Z Niac joined #scheme 2014-11-06T05:20:42Z frkout_ quit (Ping timeout: 245 seconds) 2014-11-06T05:21:15Z alezost joined #scheme 2014-11-06T05:25:15Z Rodya_ quit (Quit: Ex-Chat) 2014-11-06T05:27:28Z frkout_ joined #scheme 2014-11-06T05:29:48Z blab joined #scheme 2014-11-06T05:31:41Z frkout quit (Ping timeout: 264 seconds) 2014-11-06T05:40:32Z MichaelRaskin joined #scheme 2014-11-06T05:42:18Z HoHo joined #scheme 2014-11-06T05:43:36Z kongtomo_ quit (Read error: Connection reset by peer) 2014-11-06T05:43:55Z kongtomorrow joined #scheme 2014-11-06T05:45:19Z HoHo quit (Client Quit) 2014-11-06T05:46:24Z ddp quit (Quit: ddp) 2014-11-06T05:49:13Z rtra quit (Ping timeout: 265 seconds) 2014-11-06T05:50:08Z rtra joined #scheme 2014-11-06T05:58:12Z ananna joined #scheme 2014-11-06T05:58:12Z ananna quit (Changing host) 2014-11-06T05:58:12Z ananna joined #scheme 2014-11-06T06:00:16Z rtra quit (Ping timeout: 265 seconds) 2014-11-06T06:00:41Z rtra joined #scheme 2014-11-06T06:01:21Z oleo__ quit (Quit: Verlassend) 2014-11-06T06:04:35Z frkout_ quit (Read error: Connection reset by peer) 2014-11-06T06:05:24Z Shadox quit (Quit: Leaving) 2014-11-06T06:08:17Z joneshf-laptop joined #scheme 2014-11-06T06:11:18Z frkout joined #scheme 2014-11-06T06:14:24Z tcsc quit (Quit: computer sleeping) 2014-11-06T06:19:41Z BossKonaSegwaY1 joined #scheme 2014-11-06T06:19:57Z BossKonaSegwaY quit (Read error: Connection reset by peer) 2014-11-06T06:22:10Z araujo quit (Ping timeout: 255 seconds) 2014-11-06T06:25:58Z leo2007 quit (Quit: rcirc on GNU Emacs 25.0.50.3) 2014-11-06T06:27:33Z araujo joined #scheme 2014-11-06T06:27:46Z frkout quit (Read error: Connection reset by peer) 2014-11-06T06:33:08Z rtra quit (Ping timeout: 265 seconds) 2014-11-06T06:38:13Z rtra joined #scheme 2014-11-06T06:40:54Z bjz joined #scheme 2014-11-06T06:43:48Z kongtomorrow quit (Read error: Connection reset by peer) 2014-11-06T06:43:53Z kongtomo_ joined #scheme 2014-11-06T06:51:05Z mrowe is now known as mrowe_away 2014-11-06T06:52:55Z rtra quit (Ping timeout: 244 seconds) 2014-11-06T07:01:34Z rtra joined #scheme 2014-11-06T07:06:04Z rtra quit (Ping timeout: 265 seconds) 2014-11-06T07:12:43Z kazimir42 joined #scheme 2014-11-06T07:36:21Z ggVGc joined #scheme 2014-11-06T07:39:10Z Isp-sec joined #scheme 2014-11-06T07:50:24Z ggVGc: is there a bare bones scheme implementation along the lines of lua? I.e without any platform specific things and in ANSI C? I looked at chibi, which might be what I want? 2014-11-06T07:56:37Z asumu quit (Ping timeout: 260 seconds) 2014-11-06T07:57:41Z c4h joined #scheme 2014-11-06T08:04:36Z ehaliewicz quit (Read error: Connection reset by peer) 2014-11-06T08:04:47Z frkout joined #scheme 2014-11-06T08:06:34Z frkout quit (Remote host closed the connection) 2014-11-06T08:07:01Z frkout joined #scheme 2014-11-06T08:07:20Z asumu joined #scheme 2014-11-06T08:11:46Z ventonegro joined #scheme 2014-11-06T08:15:19Z wingo joined #scheme 2014-11-06T08:26:47Z kazimir42 quit (Ping timeout: 250 seconds) 2014-11-06T08:27:20Z taylanub: ggVGc: I also thought of Chibi upon reading your question. 2014-11-06T08:30:29Z frkout quit (Read error: Connection reset by peer) 2014-11-06T08:33:31Z taylanub: ggVGc: I've been using Chibi to test some R7RS libraries, and it's definitely a neat little implementation, but seems to be suffering from a lack of users, i.e. testers. be careful about hitting little bugs here and there; file issues on the googlecode page of Chibi and they'll get taken care of 2014-11-06T08:34:37Z ggVGc: taylanub: yeah, that's the feeling I got too. Actually what I think I am going to do is use this, https://github.com/meric/l2l/blob/master/l2l, since my application already has embedded lua and I know the VM is solid and builds the way I want it to. 2014-11-06T08:39:56Z taylanub: ggVGc: is that sexpr syntax for Lua, or what exactly is it? 2014-11-06T08:40:52Z ggVGc: taylanub: it's a small compiler for lisp to lua as far as I can tell 2014-11-06T08:40:59Z frkout joined #scheme 2014-11-06T08:41:06Z stepnem joined #scheme 2014-11-06T08:41:07Z taylanub: well which Lisp... maybe an ad-hoc one. 2014-11-06T08:41:09Z ggVGc: taylanub: basically sexpr and macros 2014-11-06T08:41:28Z ggVGc: taylanub: I only just now found it 2014-11-06T08:41:31Z ggVGc: looking at it closer atm 2014-11-06T08:41:36Z taylanub: oh, didn't notice l2l was the whole project; there's a README on the homepage of it 2014-11-06T08:42:21Z frkout_ joined #scheme 2014-11-06T08:42:34Z ggVGc: taylanub: I mean it will be the dialect of "lisp running in lua environment" 2014-11-06T08:42:37Z ggVGc: which is fine to me 2014-11-06T08:43:12Z taylanub: so yeah, it ain't no Scheme, meaning it probably has no hygienic macros, multiple-values, tail-call elimination, etc., but any Lisp is better than no Lisp ;P 2014-11-06T08:45:25Z ggVGc: taylanub: yeah, but the lua VM offers some good things to, so for my use I think lisp syntax with the lua VM is not actually bad 2014-11-06T08:45:50Z ggVGc: lua has nice coroutines, and tail call recursion(afaik) 2014-11-06T08:46:33Z frkout quit (Ping timeout: 260 seconds) 2014-11-06T08:46:50Z ggVGc: errr, tail call elimination I meant 2014-11-06T08:48:07Z ggVGc: taylanub: I actually have barely written any scheme/lisp at all, and doing this is a way for me to get into it. But yeah, hygienic macros would require an actual lisp runtime rather than running in the lua VM I guess, if I understand hygienic macros correctly 2014-11-06T08:48:51Z ggVGc: btw, lua also has multiple return values, so I think actually the VM is pretty suitable for scheme 2014-11-06T08:48:56Z ggVGc: I will give this a try and see how it goes 2014-11-06T08:53:11Z pnpuff___ joined #scheme 2014-11-06T08:56:20Z frkout_ quit (Read error: Connection reset by peer) 2014-11-06T08:56:44Z b4283 joined #scheme 2014-11-06T08:58:41Z Isp-sec quit (Ping timeout: 265 seconds) 2014-11-06T08:59:45Z ventonegro quit (Remote host closed the connection) 2014-11-06T09:00:40Z rszeno joined #scheme 2014-11-06T09:00:58Z c74d quit (Remote host closed the connection) 2014-11-06T09:03:54Z c74d joined #scheme 2014-11-06T09:04:25Z blab quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-06T09:04:51Z ventonegro joined #scheme 2014-11-06T09:06:57Z redeemed joined #scheme 2014-11-06T09:07:48Z ByronJohnson quit (Ping timeout: 265 seconds) 2014-11-06T09:09:44Z ByronJohnson joined #scheme 2014-11-06T09:09:53Z rjmacready_ joined #scheme 2014-11-06T09:12:22Z taylanub: ooh, sounds like Lua is more Schemey than I thought, with TCO and MV 2014-11-06T09:13:17Z taylanub: ggVGc: hygienic macros are a purely compile-time thing, but need to interact with the module system a little I think; dunno how easy they'd be to implement for Lua 2014-11-06T09:18:08Z c74d quit (Read error: Connection reset by peer) 2014-11-06T09:19:02Z leo2007 joined #scheme 2014-11-06T09:19:46Z ggVGc: taylanub: yeah, I read some more about it, and now I understand them I think. Could hygienic macros be implemented as a preprocessor? 2014-11-06T09:20:12Z ggVGc: or rather, is there a lisp-only implementation of them readily available? 2014-11-06T09:21:43Z c74d joined #scheme 2014-11-06T09:26:17Z pnpuff___ quit (Ping timeout: 264 seconds) 2014-11-06T09:27:50Z taylanub: ggVGc: pure preprocessor is difficult because the output of hygienic macro expansion needs to have "raw" references directly into the bindings of other modules. when module A has a top-level variable X and a macro Y whose body references X, then when module B imports macro Y from A and uses it, the expansion must produce some unambiguous reference to "variable X from module A" 2014-11-06T09:28:57Z taylanub: (in this case the variable X is called an "implicit export" from the module A, unless it's also exported explicitly that is) 2014-11-06T09:30:43Z Niac quit (Remote host closed the connection) 2014-11-06T09:31:29Z wingo quit (Ping timeout: 245 seconds) 2014-11-06T09:32:44Z stepnem quit (Ping timeout: 245 seconds) 2014-11-06T09:33:44Z civodul joined #scheme 2014-11-06T09:35:06Z stepnem joined #scheme 2014-11-06T09:39:49Z DGASAU quit (Ping timeout: 245 seconds) 2014-11-06T09:43:48Z kongtomo_ quit (Read error: Connection reset by peer) 2014-11-06T09:43:54Z kongtomorrow joined #scheme 2014-11-06T09:50:49Z leo2007 quit (Quit: rcirc on GNU Emacs 25.0.50.1) 2014-11-06T09:51:03Z ProbonoBonobo quit (Remote host closed the connection) 2014-11-06T09:51:37Z ProbonoBonobo joined #scheme 2014-11-06T09:52:58Z ProbonoBonobo quit (Read error: Connection reset by peer) 2014-11-06T09:52:59Z DGASAU joined #scheme 2014-11-06T10:02:44Z DGASAU quit (Ping timeout: 245 seconds) 2014-11-06T10:04:38Z DGASAU joined #scheme 2014-11-06T10:05:17Z BossKonaSegwaY1 quit (Ping timeout: 264 seconds) 2014-11-06T10:12:26Z c4h quit (Quit: quit) 2014-11-06T10:13:07Z stamourv quit (Read error: Connection reset by peer) 2014-11-06T10:13:12Z jrslepak quit (Ping timeout: 245 seconds) 2014-11-06T10:14:52Z jrslepak joined #scheme 2014-11-06T10:15:14Z DGASAU quit (Ping timeout: 245 seconds) 2014-11-06T10:18:38Z effy quit (Read error: Connection reset by peer) 2014-11-06T10:19:16Z DGASAU joined #scheme 2014-11-06T10:21:10Z effy joined #scheme 2014-11-06T10:27:54Z BossKonaSegwaY joined #scheme 2014-11-06T10:50:06Z leo2007 joined #scheme 2014-11-06T10:53:08Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-06T10:54:34Z kongtomorrow quit 2014-11-06T10:55:52Z srenatus joined #scheme 2014-11-06T10:58:26Z jrslepak_ joined #scheme 2014-11-06T10:58:28Z jrslepak quit (Remote host closed the connection) 2014-11-06T11:04:52Z pnkfelix joined #scheme 2014-11-06T11:19:20Z bpalmer quit (Ping timeout: 265 seconds) 2014-11-06T11:23:25Z jkraemer quit (Ping timeout: 272 seconds) 2014-11-06T11:25:56Z BitPuffin joined #scheme 2014-11-06T11:30:21Z bpalmer joined #scheme 2014-11-06T11:32:43Z rjmacready_ quit (Ping timeout: 246 seconds) 2014-11-06T11:35:32Z jkraemer joined #scheme 2014-11-06T11:43:04Z jeapostrophe joined #scheme 2014-11-06T11:45:05Z MadProcessor joined #scheme 2014-11-06T11:47:53Z visualshock joined #scheme 2014-11-06T11:51:32Z MadProcessor: How can i redefine/extend existing syntax rules, like i.e. (define (...) ...) ? 2014-11-06T11:54:59Z Riastradh joined #scheme 2014-11-06T12:11:48Z taylanub: MadProcessor: in R7RS, you could (import (rename (scheme base) (define real-define))), and then (define-syntax define (syntax-rules ((...) (real-define ...)))) and such 2014-11-06T12:20:56Z Riastradh: ecraven: In case you're curious, I've just committed a (duh-obvious-why-didn't-I-think-of-it-then) fix for . 2014-11-06T12:26:18Z ecraven: Riastradh: thanks! 2014-11-06T12:26:46Z gravicappa joined #scheme 2014-11-06T12:27:33Z Riastradh: Until that goes out in a release, you can work around it by replacing (create-thread #f t) by (let ((continuation (create-thread-continuation))) (create-thread continuation (lambda () (with-create-thread-continuation continuation t]. 2014-11-06T12:28:14Z ecraven: Riastradh: I need to look up what I needed it for, it might have been for the web thing, to run a swank repl in the image so that I can connect to it for updating/debugging 2014-11-06T12:29:16Z gabot quit (Ping timeout: 244 seconds) 2014-11-06T12:30:48Z jrslepak_ quit (Ping timeout: 265 seconds) 2014-11-06T12:31:14Z BitPuffin quit (Ping timeout: 256 seconds) 2014-11-06T12:32:32Z jrslepak joined #scheme 2014-11-06T12:34:59Z visualshock quit (Quit: Leaving) 2014-11-06T12:43:04Z MadProcessor quit (Quit: Page closed) 2014-11-06T12:45:48Z rszeno quit (Quit: Leaving.) 2014-11-06T12:45:50Z gabot joined #scheme 2014-11-06T13:05:46Z jusss joined #scheme 2014-11-06T13:11:49Z atomx joined #scheme 2014-11-06T13:19:05Z stepnem quit (Ping timeout: 260 seconds) 2014-11-06T13:42:10Z taylanub quit (Disconnected by services) 2014-11-06T13:43:05Z taylanub joined #scheme 2014-11-06T13:47:27Z Riastradh quit (Ping timeout: 250 seconds) 2014-11-06T13:53:01Z effy_ joined #scheme 2014-11-06T13:53:42Z effy quit (Ping timeout: 244 seconds) 2014-11-06T14:03:10Z davexunit joined #scheme 2014-11-06T14:04:12Z stepnem joined #scheme 2014-11-06T14:10:07Z MichaelRaskin quit (Quit: MichaelRaskin) 2014-11-06T14:19:27Z gravicappa quit (Ping timeout: 245 seconds) 2014-11-06T14:26:45Z daviid joined #scheme 2014-11-06T14:27:48Z oleo joined #scheme 2014-11-06T14:35:23Z Nizumzen joined #scheme 2014-11-06T14:39:10Z duggiefresh joined #scheme 2014-11-06T14:39:22Z Sgeo quit (Read error: Connection reset by peer) 2014-11-06T14:39:37Z Sgeo joined #scheme 2014-11-06T14:47:09Z stepnem quit (Ping timeout: 255 seconds) 2014-11-06T14:49:42Z stepnem joined #scheme 2014-11-06T14:55:00Z dioxirane joined #scheme 2014-11-06T14:55:09Z Aune joined #scheme 2014-11-06T14:58:40Z stamourv joined #scheme 2014-11-06T15:01:44Z ijp joined #scheme 2014-11-06T15:02:14Z MrSavage joined #scheme 2014-11-06T15:03:56Z jusss quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-06T15:05:17Z dioxirane quit (Quit: Lost terminal) 2014-11-06T15:06:01Z Aune quit (Read error: Connection reset by peer) 2014-11-06T15:13:12Z haroldwu quit (Ping timeout: 245 seconds) 2014-11-06T15:14:01Z haroldwu joined #scheme 2014-11-06T15:18:01Z Riastradh joined #scheme 2014-11-06T15:21:57Z effy_ quit (Ping timeout: 245 seconds) 2014-11-06T15:23:27Z effy joined #scheme 2014-11-06T15:23:54Z Aune joined #scheme 2014-11-06T15:24:31Z Uber-Ich joined #scheme 2014-11-06T15:31:38Z Aune quit (Read error: Connection reset by peer) 2014-11-06T15:32:51Z ijp quit (Quit: This ijp has ended peacefully) 2014-11-06T15:43:47Z visualshock joined #scheme 2014-11-06T15:46:52Z gravicappa joined #scheme 2014-11-06T15:47:52Z jeapostrophe quit (Ping timeout: 240 seconds) 2014-11-06T15:49:00Z Aune joined #scheme 2014-11-06T15:54:07Z Black-Irish joined #scheme 2014-11-06T15:57:13Z Aune quit (Read error: Connection reset by peer) 2014-11-06T16:02:50Z gravicappa quit (Remote host closed the connection) 2014-11-06T16:07:33Z vanila joined #scheme 2014-11-06T16:08:42Z jeapostrophe joined #scheme 2014-11-06T16:09:09Z Uber-Ich left #scheme 2014-11-06T16:09:15Z Black-Irish quit (Quit: Leaving) 2014-11-06T16:16:04Z leo2007 quit (Quit: restart rooter) 2014-11-06T16:20:23Z leo2007 joined #scheme 2014-11-06T16:21:21Z theseb joined #scheme 2014-11-06T16:23:27Z Rubix quit (Ping timeout: 250 seconds) 2014-11-06T16:25:13Z Rubix joined #scheme 2014-11-06T16:28:24Z MrSavage quit (Ping timeout: 255 seconds) 2014-11-06T16:30:36Z gravicappa joined #scheme 2014-11-06T16:32:38Z MichaelRaskin joined #scheme 2014-11-06T16:32:42Z iterrogo joined #scheme 2014-11-06T16:39:30Z redeemed quit (Quit: q) 2014-11-06T16:46:31Z leo2007 quit (Quit: #strongswan) 2014-11-15T20:14:55Z ccl-logbot joined #scheme 2014-11-15T20:14:55Z 2014-11-15T20:14:55Z names: ccl-logbot oleo amgarchIn9 germ13 emma_ gnomon_ duncanm gravicappa agumonkey rudybot leppie alezost acieroid kilimanjaro ijp` jcloud mornfall LeoNerd samth benaiah chameco_ utkarsh haroldwu_ jrslepak_ balkamos pchrist Shozan petercom1and henrytil1 pjdelport taylanub Natch DerGuteMoritz ELLIOTTCABLE tobik altphi_ psy_ clog stamourv` oldskirt dpk defanor tessier arrdem boycottg00gle b4284 pjb gabot MichaelRaskin kwmiebach cky Guest46818 averell Janne_ 2014-11-15T20:14:55Z names: ggherdov fizzie TrueShif1Blue sethalves xyh mmc cojy dmiles Blkt_ greghendershott hiroakip kongtomorrow kazimir42 vanila mdibound Vutral daviid Isp-sec davexunit bjz zlrth Khisanth karswell hypermagic BitPuffin wilfredh funrep tadni rtra joneshf-laptop BossKonaSegwaY1 Riastradh juanfra macdice githogori_ GGMethos anannie carc evhan joast _5kg ohama Soft ffs certainty antoszka teiresias Sgeo kbtr Kabaka Riviera asumu turbofail girrig tmh_ byte48 klltkr 2014-11-15T20:14:55Z names: fikusz cmatei joneshf swilr frkout copec akkad fgudin serhart mrowe_away edw mario-goulart cibs twem2 gf3 acarrico FracV Kruppe Tbone139 aksatac superjudge dytrivedi__ gluegadget aap choas ft dsp synaptech ByronJohnson cjh` abbe ski weinholt fadein C-Keen Intensity Kryo ozzloy Neet nisstyre eMBee vukcrni ecraven CoverSlide diginet amoe niklasl finnrobi Razz necronian pygospa amgarching eagleflo mikeyhc z0d offby1 dan64 Saeren_ aking micro^ cross poucet 2014-11-15T20:14:55Z names: sigjuice tsuyoshi SirDayBat zbigniew tstc rotty_ dca yosafbridge klutometis 2014-11-15T20:15:21Z tessier quit (Ping timeout: 258 seconds) 2014-11-15T20:15:22Z hiroakip quit (Ping timeout: 258 seconds) 2014-11-15T20:15:29Z Nshag joined #scheme 2014-11-15T20:15:42Z hiroakip joined #scheme 2014-11-15T20:15:47Z tessier joined #scheme 2014-11-15T20:16:49Z joast quit (Ping timeout: 258 seconds) 2014-11-15T20:17:35Z niklasl quit (Ping timeout: 258 seconds) 2014-11-15T20:19:19Z iKlsR joined #scheme 2014-11-15T20:21:26Z Soft quit (Ping timeout: 258 seconds) 2014-11-15T20:22:16Z jjjj2_ joined #scheme 2014-11-15T20:24:25Z niklasl joined #scheme 2014-11-15T20:28:53Z c74d joined #scheme 2014-11-15T20:29:14Z b4285 joined #scheme 2014-11-15T20:29:42Z altphi_ quit 2014-11-15T20:30:43Z Soft joined #scheme 2014-11-15T20:30:50Z Soft quit (Changing host) 2014-11-15T20:30:51Z Soft joined #scheme 2014-11-15T20:30:53Z b4284 quit (Ping timeout: 240 seconds) 2014-11-15T20:31:47Z Soft quit (Ping timeout: 258 seconds) 2014-11-15T20:34:02Z Soft joined #scheme 2014-11-15T20:35:48Z henrytil1 quit (Quit: leaving) 2014-11-15T20:36:58Z henrytill joined #scheme 2014-11-15T20:38:19Z taylanub: *sigh* I wish syntax-rules had a way to only match an identifier, syntax-parse style. 2014-11-15T20:41:17Z cky quit (Ping timeout: 272 seconds) 2014-11-15T20:46:06Z cky joined #scheme 2014-11-15T20:52:09Z jlongster joined #scheme 2014-11-15T20:53:57Z kongtomorrow quit (Ping timeout: 240 seconds) 2014-11-15T20:55:59Z kongtomorrow joined #scheme 2014-11-15T20:57:05Z alezost quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-15T20:57:07Z jlongster quit (Ping timeout: 272 seconds) 2014-11-15T20:57:45Z amgarchIn9 quit (Ping timeout: 272 seconds) 2014-11-15T21:01:05Z BossKonaSegwaY1 left #scheme 2014-11-15T21:03:23Z amgarchIn9 joined #scheme 2014-11-15T21:07:28Z xyh quit (Remote host closed the connection) 2014-11-15T21:09:31Z boycottg00gle quit (Remote host closed the connection) 2014-11-15T21:11:09Z jumblerg joined #scheme 2014-11-15T21:14:02Z ijp` is now known as ijp 2014-11-15T21:20:10Z kongtomorrow quit (Read error: Connection reset by peer) 2014-11-15T21:21:22Z kongtomorrow joined #scheme 2014-11-15T21:24:04Z kongtomorrow quit (Read error: Connection reset by peer) 2014-11-15T21:24:37Z kongtomorrow joined #scheme 2014-11-15T21:25:25Z davexunit quit (Quit: Later) 2014-11-15T21:25:41Z gravicappa quit (Ping timeout: 264 seconds) 2014-11-15T21:28:02Z ehaliewicz joined #scheme 2014-11-15T21:28:26Z araujo joined #scheme 2014-11-15T21:28:27Z araujo quit (Changing host) 2014-11-15T21:28:27Z araujo joined #scheme 2014-11-15T21:31:21Z mdibound: is the procedure considered a data type? 2014-11-15T21:31:50Z vanila: yes 2014-11-15T21:31:53Z annodomini joined #scheme 2014-11-15T21:31:59Z BW^- joined #scheme 2014-11-15T21:32:16Z BW^-: guys, I have basically a procedure, that performs a tree-like, sometimes circular, execution flow - 2014-11-15T21:32:21Z BW^-: i.e. just a typical Scheme procedore 2014-11-15T21:32:26Z jlongster joined #scheme 2014-11-15T21:32:42Z BW^-: however, it has stops and starts at which it needs to be serialized to persistent media, and then restored from there 2014-11-15T21:32:52Z BW^-: *and* I don't want to use the programming language's closure/continuation serialization routines, 2014-11-15T21:33:18Z BW^-: because all of that leads to code versioning problems, etc. 2014-11-15T21:33:29Z BW^-: therefore, right now I have implemented this procedure in an *inverse form, technically as an event handler* 2014-11-15T21:33:34Z BW^-: and, that is becoming a PITA 2014-11-15T21:33:41Z BW^-: because the code is too complex, it's like reading backwards 2014-11-15T21:33:51Z vanila: mmaybe you can use shift/reset to implement the inverted form in direct style? 2014-11-15T21:34:02Z BW^-: so now I'm thinkign about if I could perform the original goal of having this as a procedure, 2014-11-15T21:34:18Z BW^-: that doesn't really serialize at the level of Scheme code but rather its serialization is a custom-made one, 2014-11-15T21:34:19Z BW^-: that 2014-11-15T21:34:24Z BW^-: using 2014-11-15T21:34:29Z BW^-: (1) a macro for code transformation 2014-11-15T21:34:30Z BW^-: and 2014-11-15T21:34:33Z BW^-: (2) call/cc 2014-11-15T21:34:47Z vanila: probably shift/reset better than call/cc 2014-11-15T21:34:47Z BW^-: that somehow using at least (1) but if of any benefit also (2) , 2014-11-15T21:34:49Z BW^-: I could reach this goal? 2014-11-15T21:34:59Z BW^-: vanila: I don't have shift/reset in Gambit, don't worry! 2014-11-15T21:35:00Z BW^-: call/cc is fine 2014-11-15T21:35:13Z BW^-: vanila: now, how could I implement such a thing? 2014-11-15T21:35:15Z BW^-: so basically 2014-11-15T21:35:20Z BW^-: the persistent structure is a set of slots 2014-11-15T21:35:21Z BW^-: like 2014-11-15T21:35:31Z BW^-: |is-intialized?| , set to #f at beginning, but at a particular point it's set to #t 2014-11-15T21:35:33Z BW^-: there's some error slots 2014-11-15T21:35:54Z BW^-: there's some steps for the processing, like |step1-begun?| |step1-done?| etc 2014-11-15T21:35:54Z BW^-: and 2014-11-15T21:35:55Z annodomini quit (Client Quit) 2014-11-15T21:35:57Z BW^-: well 2014-11-15T21:36:03Z BW^-: so basically 2014-11-15T21:36:41Z BW^-: this code when loaded from the perisstent form, should enter the code again with some argument from the restore code 2014-11-15T21:36:41Z BW^-: hmmm 2014-11-15T21:36:43Z BW^-: so it's like 2014-11-15T21:36:50Z BW^-: (launch-the-procedure-thanks!) 2014-11-15T21:36:53Z BW^-: and that returns something like 2014-11-15T21:36:56Z BW^-: => return-result 2014-11-15T21:37:08Z BW^-: or... => execution-state + message-to-outside-world 2014-11-15T21:37:09Z BW^-: something like this 2014-11-15T21:37:16Z BW^-: so then, I need to store |execution-state| to the persistent media, 2014-11-15T21:37:28Z BW^-: and |message-to-the-outside-world| is just handled directly 2014-11-15T21:37:30Z BW^-: then at some point later, 2014-11-15T21:37:40Z BW^-: I'll have a message for the procedure, |message-for-the-procedure| 2014-11-15T21:37:48Z BW^-: and I load |execution-state| from the persistent media 2014-11-15T21:38:04Z BW^-: vanila,*: so I do something like (proceed-with-execution execution-state message-for-the-procedure) 2014-11-15T21:38:17Z BW^-: and that in turn will execute,a nda t some point go => execution-state + message-to-outside-world 2014-11-15T21:38:31Z BW^-: hmmm 2014-11-15T21:39:06Z BW^-: vanila: I may maaaybe have a limited problem with that the |message-for-the-procedure| would not be perfectly defined, in relation to the execution point at which the "procedure" is 2014-11-15T21:39:10Z BW^-: hmmm 2014-11-15T21:39:18Z BW^-: but other than this 2014-11-15T21:39:18Z BW^-: hmmmmmmmmmmmmmm 2014-11-15T21:39:38Z BW^-: vanila: maaaybe, I could actually put a *static NAME* on each of the suspent locations in the procedure! 2014-11-15T21:39:52Z mdibound: >< 2014-11-15T21:39:52Z BW^-: vanila: and store away that name into execution-state too 2014-11-15T21:40:13Z BW^-: i need to figure out if that would make sense, but.. it might do! 2014-11-15T21:40:18Z BW^-: hmmmmmmmmmmmmmm 2014-11-15T21:40:22Z Riastradh: ecraven: #!aux is an internal kludge used to implement LETREC / internal definitions. (lambda (x) (define y E) ...) is internally stored for the interpreter as (lambda (x #!aux y) (set! y E) ...). 2014-11-15T21:40:42Z BW^-: vanila,Riastradh,*: what would then be a relevant code transformation? 2014-11-15T21:45:05Z BW^-: ouh.. hm.. there should be some word for this kind of process 2014-11-15T21:46:14Z BW^-: might be impossible to make pure scheme code of it without a code rewrite at the point of every conditional 2014-11-15T21:47:49Z amgarchIn9 quit (Ping timeout: 255 seconds) 2014-11-15T21:49:03Z macdice quit (Ping timeout: 272 seconds) 2014-11-15T21:51:11Z kazimir42 quit (Ping timeout: 250 seconds) 2014-11-15T21:52:35Z BW^-: vanila: reflection? 2014-11-15T21:52:42Z BW^-: mdibound: did you want to say anything? 2014-11-15T21:53:19Z kongtomorrow quit (Ping timeout: 264 seconds) 2014-11-15T21:53:30Z jlongster quit (Ping timeout: 265 seconds) 2014-11-15T21:53:57Z kongtomorrow joined #scheme 2014-11-15T21:53:57Z vanila: I was wondering if you could use a monad for this but i think that would involve serializing a procedure 2014-11-15T21:54:11Z vanila: seems like a hell of a lot of trouble just to reimplement some feature that already exists 2014-11-15T21:55:39Z kongtomorrow quit (Client Quit) 2014-11-15T21:55:40Z BW^-: vanila: um, you mean that I undertake a lot of trouble, in order to get around/away from the need of using the language's built in closure serialization mechanism? 2014-11-15T21:55:51Z vanila: yes 2014-11-15T21:55:51Z amgarchIn9 joined #scheme 2014-11-15T21:56:01Z BW^-: closure/continuation 2014-11-15T21:56:16Z BW^-: vanila: well, technically, I agree with you. 2014-11-15T21:56:18Z Riastradh: BW^-: Step 1: write down the file format for the state you need to preserve. 2014-11-15T21:56:37Z BW^-: vanila: however, I can under no circumstance allow these "closures" to need to reset because I altered the code so they can't be deserialized anymore etc. 2014-11-15T21:57:09Z BW^-: vanila: so this is why it's 100% justified, even though I admit it takes more time 2014-11-15T21:57:28Z BW^-: vanila: I hope I can write some simple code preprocessor myself to make this work out 2014-11-15T21:58:16Z ecraven: Riastradh: Thanks! I guess it's ok to use #!key in my own macro? As it is predefined and seems not to be used every? 2014-11-15T21:58:20Z ecraven: s/every/ever/ 2014-11-15T21:58:42Z BW^-: Riastradh: I'm at >90% of that, yes 2014-11-15T21:59:01Z BW^-: Riastradh: what do you suggest as step 2? 2014-11-15T21:59:09Z Riastradh: ecraven: Gee, I didn't notice #!key existed. 2014-11-15T21:59:15Z BW^-: Riastradh,vanila: are you aware of any other example of code that does anything like this :)) 2014-11-15T21:59:15Z vanila: can you structure the code so that it forms a block of mutually recursive top level procedures P1, P2, .. etc. 2014-11-15T21:59:16Z BW^-: anyhow 2014-11-15T21:59:17Z Riastradh: ecraven: Sure, go for it, I guess. 2014-11-15T21:59:22Z BW^-: I should figure out 2014-11-15T21:59:25Z ecraven: Riastradh: hehe, someone must have planned to use it for something some day 2014-11-15T21:59:25Z vanila: such that none of them take functions as parameters 2014-11-15T21:59:34Z BW^-: Riastradh,vanila: it's just that in this code transformer I write, I'll need to make a Big Explosion at every point that's an exit/entry point for the serialization 2014-11-15T21:59:37Z vanila: then you can pause at the call to any of the P ones 2014-11-15T21:59:38Z Riastradh: BW^-: So, you have determined what state (and how much) you are willing to save on disk? 2014-11-15T21:59:52Z Riastradh: And how many different states there might be, and how to identify them, &c.? 2014-11-15T21:59:57Z BW^-: Riastradh,vanila: and ALSO at every point where an internal procedure is defined within the procedure! such as a (let loop () !! 2014-11-15T22:00:02Z BW^-: Riastradh: YES! 2014-11-15T22:00:05Z ecraven: Riastradh: I have a hacked working macro for required, optional, keyword and rest macros.. ugly :( I should probably disallow mixing optional and keyword parameters, and maybe even rest.. keyword + rest is .. strange 2014-11-15T22:00:05Z BW^-: :) 2014-11-15T22:00:11Z BW^-: Riastradh: i'm >90% done with that yes 2014-11-15T22:00:40Z Riastradh: ecraven: If you use Racket-style named arguments, mixing optional positional and named parameters, and even rest arguments, is not a problem at all... 2014-11-15T22:00:55Z ecraven: Riastradh: According to my reading of the source, there is no way to influence what (pa ) produces, right? Would be nice to "see" the keyword stuff in SLIME 2014-11-15T22:00:55Z BW^-: what's the >< smiley meaning? 2014-11-15T22:01:07Z ecraven: Riastradh: hm.. I mostly read the CL documentation, I'll look into racket too, thanks! 2014-11-15T22:01:20Z Riastradh: ecraven: See . 2014-11-15T22:01:29Z BW^-: ecraven: there's more Schemes too! 2014-11-15T22:01:48Z BW^-: ecraven: Gambit, Chez, SISC, Ypsilon 2014-11-15T22:01:53Z BW^-: the list goes on all day! 2014-11-15T22:01:59Z vanila: maybe if you perform CPS transform on the code, then you will be able to pause at any of the continuations by storing the continuation name and the parameters at that point 2014-11-15T22:02:07Z BW^-: ecraven: however of course there may be a aprticular thing that Racket does that you're looking for 2014-11-15T22:02:15Z BW^-: vanila: yes, exactly 2014-11-15T22:02:17Z vanila: CPS and closure conversion 2014-11-15T22:02:21Z BW^-: i'll need to do something like that 2014-11-15T22:02:25Z vanila: so basically you are writing a scheme compiler 2014-11-15T22:02:29Z BW^-: right 2014-11-15T22:02:35Z BW^-: vanila: this code will be very simple 2014-11-15T22:02:42Z BW^-: vanila: a Scheme to Scheme compiler yeah :) 2014-11-15T22:02:56Z BW^-: vanila: however, the language structs I support can maybe be extremely few 2014-11-15T22:03:01Z BW^-: i'll need to medidate on this just a little bit 2014-11-15T22:03:07Z BW^-: Riastradh: do you have any more feedback on Step 2 now? 2014-11-15T22:03:14Z vanila: do you want my code for those two passes 2014-11-15T22:03:18Z BW^-: Riastradh: so I basically need to implement a Very Simple R5RS-based Scheme to Scheme compiler, 2014-11-15T22:03:28Z BW^-: vanila: sure, did you write one already? 2014-11-15T22:03:30Z vanila: yeah 2014-11-15T22:03:58Z BW^-: vanila: neat, send it over! :) 2014-11-15T22:03:58Z Riastradh: BW^-: Well... I would be inclined to write out more explicitly what the intermediate saveable quantities in question are, unless you really want this to scale up and be a little brittle about the on-disk format. 2014-11-15T22:04:33Z BW^-: Riastradh: I think all of this is clarified 2014-11-15T22:04:43Z BW^-: Riastradh: but, I'll need to think it through all again now that I realized this kind of format is needed 2014-11-15T22:05:25Z Riastradh: I would probably be inclined to write out a fairly explicit state machine, not nested code that has to be compiled into one. 2014-11-15T22:06:23Z BW^-: Riastradh: wait, can you clarify further what you meant by that? 2014-11-15T22:06:24Z Riastradh: Might represent each state by a procedure that takes associated data as an argument and returns a new state. 2014-11-15T22:06:25Z BW^-: Riastradh: I think I agree 2014-11-15T22:06:27Z BW^-: the last row 2014-11-15T22:06:44Z BW^-: Riastradh: yeeeeah... sooomething of the sort, close to that 2014-11-15T22:07:53Z Riastradh: (define-state (frobnitz datum) ... (if (foo?) (transition womble (+ datum 1)) (transition zomble (sqrt datum)))), where DEFINE-STATE expands into (define frobnitz (make-state 'FROBNITZ (lambda (datum) ...))) or something. 2014-11-15T22:08:04Z Riastradh: Gotta run. 2014-11-15T22:08:05Z Riastradh: *poof* 2014-11-15T22:09:06Z BW^-: k 2014-11-15T22:12:25Z Riastradh quit (Ping timeout: 250 seconds) 2014-11-15T22:14:18Z cojy: BW^-: do you have any example code ? i have a hard time grasping what you want from your explanation 2014-11-15T22:14:35Z ijp: b 2014-11-15T22:15:32Z BW^-: cojy,ijp: I tried to put that together but that's tricky - so what I have is a procedure, we could call it |mylogic| 2014-11-15T22:16:37Z BW^-: cojy,ijp: i'm interested in being able to create an execution instance of this procedure |mylogic|, that is such that I can serialize and deserialize its execution within certain constraints, and then do suspend / resume operations, in a way that does *not* use the Scheme's closure/continuation-serialization mechanism for that end 2014-11-15T22:17:07Z BW^-: cojy,ijp: for this, I'll need to put static names on each suspend/resume point in the code, and also I'll need to implement a code mechanism that makes a complete code transformation of |mylogic|'s code 2014-11-15T22:18:05Z BW^-: cojy,ijp: does this description make sense for you? 2014-11-15T22:18:31Z BW^-: cojy,ijp: |mylogic| is a very simple procedure. it may not be needed that local variables are actually carried from scopes into their sub-scopes that are on the other side of a suspend/resume point 2014-11-15T22:20:33Z BW^-: cojy: however, there is need for some ability to recur.. 2014-11-15T22:20:33Z BW^-: hmm 2014-11-15T22:20:40Z ecraven: BW^-: just looking for ways to handle required, optional, keyword and rest parameters in various combinations :) 2014-11-15T22:21:00Z BW^-: ecraven: aha 2014-11-15T22:21:03Z cojy: yea overall it makes sense but its easier if you hvae example code of what mylogic would look like 2014-11-15T22:21:06Z BW^-: ecraven: I like how Gambit does that slicing 2014-11-15T22:21:07Z cojy: even vary vague 2014-11-15T22:21:11Z BW^-: right 2014-11-15T22:21:15Z BW^-: yes exactly 2014-11-15T22:21:41Z BW^-: cojy: i'll need to analyze the problem further here, I think 2014-11-15T22:26:45Z BW^-: vanila: ...so what I'm looking for is indeed a CPS conversion, 2014-11-15T22:26:51Z BW^-: vanila: but not really at the level of the Scheme code per se, 2014-11-15T22:27:06Z BW^-: vanila: but at the granularity of the internal building blocks of |mylogic| 2014-11-15T22:27:21Z vanila: SHIFT/RESET lets you program CPS type things in direct style 2014-11-15T22:27:39Z BW^-: vanila: yeah, but for that I still need to have an object reference on the Scheme heap, to the closure etc. 2014-11-15T22:27:43Z BW^-: vanila: in my context, I can't do that 2014-11-15T22:27:55Z BW^-: vanila: it needs to be 100% serialized to persistent media, without using the Scheme system's closure/continuation serializer 2014-11-15T22:28:04Z vanila: it's not related to serialization or anything 2014-11-15T22:28:14Z vanila: just lets you write code in a different way 2014-11-15T22:28:15Z BW^-: vanila: ah yeah but how would that help me 2014-11-15T22:28:16Z BW^-: ? 2014-11-15T22:28:19Z cojy: BW^-: its to implement what you want, its really easy with that 2014-11-15T22:28:21Z vanila: like how you were saying you had to invert the whole program 2014-11-15T22:28:24Z vanila: to make it serializable 2014-11-15T22:28:39Z vanila: its possible that you could write with that same advantage, but in direct style rather than inverted 2014-11-15T22:28:45Z vanila: just another idea to look into 2014-11-15T22:28:49Z BW^-: cojy: yeah, right, I think I need just to clarify my problem and then implementing this DSL *may* be very straightforward 2014-11-15T22:29:21Z BW^-: vanila: well, I can't "emulate" a RESET point, without having executed up to the point of its SHIFT.. sth like this, no? 2014-11-15T22:29:23Z cojy: i suggest pretending like you have continuations available then write a code transformer 2014-11-15T22:29:49Z BW^-: cojy: yes yes, right exactly 2014-11-15T22:29:51Z BW^-: ok, thinking time. 2014-11-15T22:30:46Z cojy: you can ONLY do delimited continuations when you are only transforming part of your code 2014-11-15T22:32:00Z BW^-: cojy,vanila: my exit/entry points are defined as follows: 2014-11-15T22:32:03Z BW^-: defined (exit/entry-point unique-name value-to-outside-world . continuation-code), 2014-11-15T22:32:07Z BW^-: and |continuation-code| is executed with a local variable |value-from-outside-world| 2014-11-15T22:32:46Z BW^-: cojy,vanila: i.e. it's not real continuations, it's just code blocks in code blocks and the ability for my "deserializer" to dispatch code blocks down the code tree somewhere, directly from the top' 2014-11-15T22:32:54Z BW^-: anyhow, problem analyzis time :) 2014-11-15T22:33:13Z iKlsR quit (Quit: Respawning..) 2014-11-15T22:33:19Z BW^-: vanila: thanks for suggesting that this is a "CPS transformation" problem and that it's something of a "Scheme to Scheme compiler" I want to do 2014-11-15T22:33:31Z BW^-: that helped me clarify this - thanks a lot for your feedback :) 2014-11-15T22:33:37Z hiroakip quit (Ping timeout: 240 seconds) 2014-11-15T22:33:53Z BW^-: so now lessee... 2014-11-15T22:33:56Z vanila: yyeah I hope it helps a bit! 2014-11-15T22:36:35Z BW^-: vanila: so it's actually a "particular-DSL-level CPS transformation" I need, and what I need is a "particular-DSL-Scheme to Scheme compiler" with a "particular-DSL-Scheme-continuation serialization" mechanism 2014-11-15T22:36:35Z BW^-: heh 2014-11-15T22:37:12Z cojy: also known as, a macro :p 2014-11-15T22:37:25Z BW^-: cojy: well, that's probably the format in which I'll implement it, yes, I agree :) 2014-11-15T22:38:27Z Isp-sec quit (Ping timeout: 272 seconds) 2014-11-15T22:38:36Z cojy: BW^-: btw i still think you are thinking about it at too low of a level 2014-11-15T22:39:37Z cojy: i would recommend some wishful thinking as to what the dream code would look like if it just magically existed for you then make the implementation fit that, rather than thinking about the implementation first 2014-11-15T22:39:39Z BW^-: cojy: I understand your worry - I will need to get the problem further clarified first though 2014-11-15T22:39:58Z BW^-: cojy: yes yes, I know, 2014-11-15T22:40:09Z BW^-: cojy: theoretically I already have the dream code 2014-11-15T22:40:17Z BW^-: cojy: it's like, I have it, it just written in the wrong format and is not complete 2014-11-15T22:40:39Z BW^-: cojy: so right now, I just need to clarify this bigger problem as a whole, as to be able to *then* write the final dream code as to *then* write the transformer 2014-11-15T22:40:42Z BW^-: &serializer 2014-11-15T22:41:55Z tristero joined #scheme 2014-11-15T22:42:17Z vanila: that "wishful thinking" technique is one of the best ways to program 2014-11-15T22:42:32Z BW^-: cojy,vanila: hopefully the serializer (which is invoked by the outside world for executing |mylogic|) can be implemented using like two forms, |start| and |resume| , and then the CPS-whatever DSL in |mylogic|'s code would also be implemented in terms of very very few forms, something like an |exit/entry-point| form.. and then something like a |define-transcendent| to make defines that transcend |exit/entry-point| borders! 2014-11-15T22:42:50Z ehaliewicz quit (Ping timeout: 250 seconds) 2014-11-15T22:43:01Z BW^-: ("reentry" into an |exit/entry-point| is done to the code defined *within* it[s form], and return of an |exit/entry-point|.. maybe leads nowhere) 2014-11-15T22:43:04Z BW^-: so simple a DSL.. 2014-11-15T22:43:14Z BW^-: vanila: wait, what do you mean? 2014-11-15T22:43:20Z cojy: sounds like what you want was solved many times over long ago 2014-11-15T22:43:31Z BW^-: cojy: for sure it was 2014-11-15T22:43:37Z cojy: if all you want is serializable threads with dynamic binding that can be done easily 2014-11-15T22:43:39Z BW^-: cojy: but do you know any example code doing this? 2014-11-15T22:44:00Z BW^-: cojy: well, problem is just that *only extremely selected bindings* should be done 2014-11-15T22:44:05Z BW^-: others just vanish at serialization time 2014-11-15T22:44:24Z BW^-: cojy: but you're right that my problem could be described as a "serializable thread" problem 2014-11-15T22:44:28Z cojy: thread-local variables are in most implementations 2014-11-15T22:44:36Z BW^-: ahno no 2014-11-15T22:44:56Z cojy: dynamic binding that cooperates with continuations 2014-11-15T22:45:02Z BW^-: cojy: I need to be able to launch my "thread" (|mylogic|) out of nothing, and the deserializer enter into it already from then, starting at arbitrary code positions inside it 2014-11-15T22:45:07Z BW^-: anyhow. 2014-11-15T22:45:11Z BW^-: now thinking time. 2014-11-15T22:46:12Z kongtomorrow joined #scheme 2014-11-15T22:48:48Z jeapostrophe joined #scheme 2014-11-15T22:49:43Z mark_weaver joined #scheme 2014-11-15T22:53:47Z BW^-: vanila: were you serious or joking when you said that "wishful thinking" is one of the best ways to program? 2014-11-15T22:54:51Z vanila: serious 2014-11-15T22:54:54Z BW^-: vanila: as long as you have 100% clarity about the problem *and* its implications, then I think within a reasoning scoped to that, 2014-11-15T22:55:06Z cojy: i dont 2014-11-15T22:55:26Z BW^-: then *wishful thinking* in the sense of an exploratory way of clarifying the levels of the problem, DSL needed, and so on, 2014-11-15T22:55:27Z ehaliewicz joined #scheme 2014-11-15T22:55:41Z BW^-: are the best way to program, yes 2014-11-15T22:56:14Z cojy: i think you aren't thinking wishfull enough ^_^ 2014-11-15T22:56:15Z BW^-: however generally you have a further clue from step 1 and you better *design* it than do it in an exploratory fashion, as the latter easily turns out to be a hack 2014-11-15T22:56:21Z BW^-: =)) 2014-11-15T22:56:33Z BW^-: anyhow. 2014-11-15T22:56:49Z cojy: it would be a lot easier to help you if oyu just gave what it would look like without writing anything for example using built-in call/cc or threads 2014-11-15T22:56:56Z cojy: then make an implementation that fits the same code 2014-11-15T22:57:22Z BW^-: cojy: yeah, I should come up with "pseudocode" in a while! 2014-11-15T22:57:30Z BW^-: cojy: I must just clarify the problem further on my end to do that, 2014-11-15T22:58:03Z BW^-: cojy: so that this "dream code" is *actually* representative of my actual problem,a nd not just partially, because I wouldn't want to spend time implementing anything broken/leaky/insufficient 2014-11-15T22:58:15Z BW^-: cojy: give me some hours :)) 2014-11-15T22:58:28Z BW^-: perhaps even just 1 could be sufficient duno wil see 2014-11-15T23:01:03Z kongtomorrow quit 2014-11-15T23:02:10Z emma_ is now known as emma 2014-11-15T23:04:46Z Guest46818 quit (Changing host) 2014-11-15T23:04:46Z Guest46818 joined #scheme 2014-11-15T23:04:52Z Guest46818 is now known as nitrix 2014-11-15T23:14:18Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-15T23:19:38Z jlongster joined #scheme 2014-11-15T23:24:07Z jlongster quit (Ping timeout: 255 seconds) 2014-11-15T23:33:20Z zlrth quit (Ping timeout: 256 seconds) 2014-11-15T23:35:32Z germ13 quit (Ping timeout: 244 seconds) 2014-11-15T23:40:02Z LeoNerd: https://twitter.com/lvsn/status/533685461957349376 (SFW, random cat picture, semi ontopic) since it's quiet in here I thought people would appreciate 2014-11-15T23:43:39Z vanila: thanks LeoNerd 2014-11-15T23:44:11Z hypermagic: lambda.c macronizing abstraction linux gcc http://pastebin.com/ymrx528s 2014-11-15T23:48:17Z hypermagic: functional polymorphism optimization macronizing abstraction http://pastebin.com/iquR2PEh 2014-11-15T23:49:52Z vanila: sup hypermagic :) 2014-11-15T23:50:04Z hypermagic: hi :) 2014-11-15T23:52:26Z mmc quit (Quit: Leaving.) 2014-11-15T23:53:44Z ehaliewicz quit (Ping timeout: 256 seconds) 2014-11-15T23:54:31Z hypermagic: functional polymorphism, macronizing abstraction using gcc http://pastebin.com/LXZM6RSY 2014-11-15T23:59:37Z robot-beethoven joined #scheme 2014-11-16T00:08:03Z theseb joined #scheme 2014-11-16T00:14:16Z jeapostrophe quit (Ping timeout: 250 seconds) 2014-11-16T00:19:10Z vinleod joined #scheme 2014-11-16T00:19:37Z jlongster joined #scheme 2014-11-16T00:23:08Z amgarchIn9 quit (Read error: Connection reset by peer) 2014-11-16T00:23:14Z alexei joined #scheme 2014-11-16T00:24:29Z jlongster quit (Ping timeout: 264 seconds) 2014-11-16T00:25:44Z theseb quit (Quit: Leaving) 2014-11-16T00:35:02Z amgarchIn9 joined #scheme 2014-11-16T00:36:43Z alexei quit (Ping timeout: 258 seconds) 2014-11-16T00:40:05Z tcsc joined #scheme 2014-11-16T00:49:47Z jlongster joined #scheme 2014-11-16T00:54:11Z jlongster quit (Ping timeout: 255 seconds) 2014-11-16T00:58:58Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-11-16T00:59:33Z tcsc quit (Quit: bye!) 2014-11-16T01:05:55Z daviid quit (Ping timeout: 264 seconds) 2014-11-16T01:12:31Z ehaliewicz joined #scheme 2014-11-16T01:16:44Z Gyps joined #scheme 2014-11-16T01:27:57Z hypermagic quit (Quit: Leaving) 2014-11-16T01:43:19Z jlongster joined #scheme 2014-11-16T01:47:03Z hiyosi joined #scheme 2014-11-16T01:49:05Z Vutral quit (Ping timeout: 250 seconds) 2014-11-16T01:49:21Z iKlsR joined #scheme 2014-11-16T01:55:15Z oleo__ joined #scheme 2014-11-16T01:55:59Z oleo is now known as Guest78667 2014-11-16T01:57:31Z Guest78667 quit (Ping timeout: 264 seconds) 2014-11-16T01:59:23Z Vutral joined #scheme 2014-11-16T02:16:44Z tobik quit (Ping timeout: 244 seconds) 2014-11-16T02:17:37Z adu joined #scheme 2014-11-16T02:18:27Z tobik joined #scheme 2014-11-16T02:21:21Z adu quit (Client Quit) 2014-11-16T02:24:47Z vinleod joined #scheme 2014-11-16T02:29:45Z Gyps quit (Quit: Gyps) 2014-11-16T02:57:53Z BitPuffin quit (Ping timeout: 240 seconds) 2014-11-16T03:00:34Z iKlsR quit (Quit: Respawning..) 2014-11-16T03:03:58Z oldskirt quit (Read error: Connection reset by peer) 2014-11-16T03:04:42Z oldskirt joined #scheme 2014-11-16T03:09:40Z BW^- quit (Ping timeout: 265 seconds) 2014-11-16T03:18:48Z ehaliewicz quit (Remote host closed the connection) 2014-11-16T03:23:58Z amgarchIn9 quit (Ping timeout: 255 seconds) 2014-11-16T03:29:57Z jjjj2_ quit (Quit: Ex-Chat) 2014-11-16T03:35:13Z Gyps joined #scheme