Re: guile macros and binary API

2012-03-08 Thread dsmich
Alexei Matveev wrote: > As a background, Fortran allows you to declare "foreign" functions, for > example, > like this: > > type, public, bind(c) :: scm_t >private >integer(c_intptr_t) :: do_not_ever_use > end type scm_t > > interface > function scm_symbol_p (obj) result (yes)

Re: Problem with modules in Guile 2.0

2012-03-08 Thread Gubinelli Massimiliano
Hi Mark, thanks again. I start to understand better the Guile 2 compile system. I decided to dig into boot-9.scm to have a more precise idea of the ecosystem around my scripts. Unfortunately it seems that the basic TeXmacs scripting infrastructure need a major change to be run into Guile 2.0 an

Re: screen in guile

2012-03-08 Thread Andrew Gwozdziewycz
On Thu, Mar 8, 2012 at 4:14 AM, Thien-Thi Nguyen wrote: > Hey, here's a summer (to start with) of code idea: > > Rewrite GNU Screen in Guile Scheme. > Bonus points for adding "vertical split" a la tmux. > Maybe I'm missing something, but doesn't screen *have* vertical split a la tmux? http://i.

Re: screen in guile

2012-03-08 Thread Ludovic Courtès
Hello! Thien-Thi Nguyen skribis: > Rewrite GNU Screen in Guile Scheme. > Bonus points for adding "vertical split" a la tmux. Good idea. :-) I presume GNU Guile-NCurses could be of help here? Extra bonus point: getting the Scheme implementation of screen actually become the new GNU Screen (ma

Re: screen in guile

2012-03-08 Thread Andrew Gwozdziewycz
On Thu, Mar 8, 2012 at 11:43 AM, Thien-Thi Nguyen wrote: > () Andrew Gwozdziewycz > () Thu, 8 Mar 2012 06:02:46 -0500 > > Maybe I'm missing something, but doesn't screen > *have* vertical split a la tmux? > > http://i.imgur.com/IXdEF.png > > Certainly seems like it. Well then, we will nee

guile macros and binary API

2012-03-08 Thread Alexei Matveev
[resend to guile-user, first copy went to bug-guile] Hi, All, For use from a Fortran program I am collecting API fixes for libguile.so as wrapper functions for what is provided to C-programs as macros. I noted that some of the macros are function-macros some are symbol macros. An example of the l

Re: screen in guile

2012-03-08 Thread Thien-Thi Nguyen
() Andrew Gwozdziewycz () Thu, 8 Mar 2012 11:57:48 -0500 Not to strike you down twice, No worries, the mud's fine. but I'm not sure how .screenrc's syntax would be better served with s-expressions. To my knowledge it's completely line oriented without any sort of section delimiting

Re: prompts: any example ?

2012-03-08 Thread Ian Price
Ian Price writes: > The trick comes from, I think, Filinski's "Representing Monads", > although it has been quite a while since I've read it. Instead of monads > being represented by the usual 'bind' and 'unit' functions, or the > (categorical?) definition of 'unit', 'fmap', 'join', they are inst

Re: screen in guile

2012-03-08 Thread Thien-Thi Nguyen
() Andrew Gwozdziewycz () Thu, 8 Mar 2012 06:02:46 -0500 Maybe I'm missing something, but doesn't screen *have* vertical split a la tmux? http://i.imgur.com/IXdEF.png Certainly seems like it. Well then, we will need something else bonus-points worthy, i suppose. The only thing that s

screen in guile

2012-03-08 Thread Thien-Thi Nguyen
Hey, here's a summer (to start with) of code idea: Rewrite GNU Screen in Guile Scheme. Bonus points for adding "vertical split" a la tmux. (I got this idea after reading some screen vs tmux posts, not ever having used tmux, personally, but somewhat irked anyway by the "aging code base" vibe...)