Dash docset for Guile 2.2.1

2017-06-05 Thread Matthew Keeter
Hi folks, For those using Dash (https://kapeli.com/dash), I’ve updated the docset so it documents Guile 2.2.1. Hope you find it helpful! -Matt

Re: Solid modeling in Guile

2016-09-22 Thread Matthew Keeter
How about ao-cad? That should be pretty unambiguous. -Matt On Sep 22, 2016, at 1:40 PM, Mark H Weaver wrote: > Mark H Weaver writes: > >> Matthew Keeter writes: >> >>> I wrote a computer-aided design (CAD) tool that you may find interesting. >>> >

Re: Solid modeling in Guile

2016-08-20 Thread Matthew Keeter
I added a cmath include and qualified isnan with std::, try it out now and see if that fixes it (commit 61ce8e1). -Matt On Aug 20, 2016, at 9:23 AM, Ralf Mattes wrote: > On Thu, Aug 18, 2016 at 05:44:46PM -0400, Matthew Keeter wrote: >> Hi Guile-folks, >> >> I wrote a

Solid modeling in Guile

2016-08-18 Thread Matthew Keeter
Hi Guile-folks, I wrote a computer-aided design (CAD) tool that you may find interesting. It’s a solid modeling tool that uses Guile scripts to define objects (and constructive solid geometry + functional representations under the hood). Project page: http://www.mattkeeter.com/projects/ao/ Sour

Re: Transient environment with standard functions

2016-06-11 Thread Matthew Keeter
this > topic, I had this mental image of a GUI for building Scheme > expressions--like "Visual Scheme". :) > > (Basa) > > On 6/10/16, Matthew Keeter wrote: >> The specific use case is for dataflow graphs, where you’re evaluating a >> bunch of small >> s

Re: Transient environment with standard functions

2016-06-10 Thread Matthew Keeter
The specific use case is for dataflow graphs, where you’re evaluating a bunch of small snippets of code that can refer to each other by name. I’d like to make an environment in which the variables in the same subgraph are exposed as no-argument thunks. For example, let’s say I have one subgraph

Re: Transient environment with standard functions

2016-06-10 Thread Matthew Keeter
t; environment with a read/write one added on. > > (Basa) > > > On 5/28/16, Matthew Keeter wrote: >> I’m trying to generate a temporary, transient environment that a useful set >> of functions in it. >> >> The use case is eval’ing a set of small code strings.

Transient environment with standard functions

2016-05-28 Thread Matthew Keeter
I’m trying to generate a temporary, transient environment that a useful set of functions in it. The use case is eval’ing a set of small code strings. Each environment needs to be independent, so previous eval’s don’t leave anything in the environment. I can make a dummy environment with (null-

Re: Readline behavior with colored custom prompt

2016-02-25 Thread Matthew Keeter
https://bugs.python.org/issue17337) -Matt On Feb 25, 2016, at 1:53 PM, Matthew Keeter wrote: > I think the fundamental issue is incorrect prompt length calculation, since > it’s not just bounce-parens: > even with that turned off, scrolling through history ends up printing weird >

Re: Readline behavior with colored custom prompt

2016-02-25 Thread Matthew Keeter
/3860 Any suggestions where to look for prompt length calculations? I flipped through guile-readline/readline.c but didn’t see any obvious places to apply a fix. Thanks, Matt On Feb 25, 2016, at 1:05 PM, Mike Gran wrote: > > > > On Thursday, February 25, 2016 9:21 AM, Matthew Keet

Readline behavior with colored custom prompt

2016-02-25 Thread Matthew Keeter
Hi all, I’m seeing strange behavior with readline's interaction with ANSI codes. Here’s a minimal sample script that reproduces the behavior: (use-modules (system repl repl) (system repl common)) (use-modules (ice-9

--listen option broken on Mac

2015-12-27 Thread Matthew Keeter
Hi Guile-folks, I’m having trouble with the --listen option on Guile 2.0.11, Mac OS 10.9.5. I start up one REPL with “guile --listen”, then connect with “nc localhost 37146” The netcat window immediately fills with (repeating over and over): scheme@(guile-user)> While reading expression:

Re: Embedding Guile with sandboxing

2015-11-23 Thread Matthew Keeter
> BTW, Matt, are you porting "Antimony" to Guile? :) > > --Bert > > > On Sun, Nov 22, 2015 at 3:51 PM, Christopher Allan Webber > wrote: > Matthew Keeter writes: > > > I’m currently embedding Python in a C / C++ application that evaluates > > us

Embedding Guile with sandboxing

2015-11-21 Thread Matthew Keeter
I’m currently embedding Python in a C / C++ application that evaluates user-provided scripts. Obviously, this is terribly unsafe: user-provided scripts can execute arbitrary malicious actions, and there’s no good way to sandbox Python in a desktop context. If I were to replace Python with Guile