Re: [racket-users] Blockly-Like Interface in DrRacket

2018-01-03 Thread Stephen Foster
Thanks Leif!

I was actually looking at your embeddable video editor a few days ago for 
inspiration.  Incidentally, I've also been playing around with #lang video 
a bit.  It's all really great stuff.  I'll definitely use these as 
inspiration.

--Stephen

On Tuesday, January 2, 2018 at 2:39:53 PM UTC-8, Leif Andersen wrote:
>
> Hello Stephens (this is going to be fun...I just know it.)
>
> As Stephen D pointed out, there was a push to add traditional gui elements 
> to DrScheme (now DrRacket), which currently lives in the `embedded-gui`[1] 
> collection. Although honestly, that library is old and hasn't been 
> maintained for years.
>
> Another alternative is my editor collection which is still in VERY early 
> stages of development[2], but it also lets you build editors in DrRacket. 
> I'm still making a cleaner interface for it, and ultimately I would like to 
> be able to make a nice graphical video editor with it. (Powered by #lang 
> video[3]). But for now, you can see an example of doing a similar thing 
> (making a video editor that is embedded directly in code) on github[4].
>
> Good luck Stephen F. and feel free to ping me if you have any questions.
>
> [1]: https://docs.racket-lang.org/embedded-gui/index.html
> [2]: https://github.com/videolang/idmt
> [3]: https://lang.video
> [4]: 
> https://github.com/videolang/video/blob/master/video/private/editor.rkt
>
> ~Leif Andersen
>
> On Monday, January 1, 2018 at 12:39:10 PM UTC-5, Stephen Foster wrote:
>>
>> Yes, exactly -- Like Snap! except I don't need the runtime, just the code 
>> editing paradigm.
>>
>> I googled for insert-gui and the closest thing I found was this:
>>
>> https://github.com/mflatt/guibuilder 
>> 
>>
>> This seems really promising.
>>
>> Also, I didn't know about the plot library and its interactive snips.  So 
>> I'll look more deeply at that too.
>>
>> Thanks!
>>
>> --Stephen
>>
>> On Saturday, December 30, 2017 at 5:31:28 PM UTC-8, spdegabrielle wrote:
>>>
>>> Hi Stephen, 
>>>
>>> I'm assuming you meant something like Snap (http://snap.berkeley.edu) 
>>> in Dr Racket? 
>>>  
>>> Snips are powerful; they can inserted in text and pasteboard editors; 
>>> they can be dynamic(e.g. plot), and they can contain other editors(text or 
>>> pasteboard).
>>>
>>> The only possibly related prior work I’m aware of was an insert-gui 
>>> functionality in DrRacket (maybe even DrScheme?) which allowed you to 
>>> insert GUI elements into program text.
>>>
>>> There was a query about 'Extending DrRacket with non-text tabs' that 
>>> might be helpful (see 
>>> https://groups.google.com/d/msg/racket-users/Iu2XtxNX_Kk/SiavnnkYDEoJ)
>>>
>>> The DrRacket plugins documentation has a example of extending DrRacket 
>>> https://docs.racket-lang.org/tools/implementing-tools.html
>>>
>>> Kind regards, 
>>> Stephen D
>>>
>>> some documentation links:
>>>  * DrRacket Plugins: http://docs.racket-lang.org/tools/index.html
>>>
>>>  * Graphical Interface Toolkit: http://docs.racket-lang.org/gui/ 
>>> * Pasteboard(editor): 
>>> http://docs.racket-lang.org/gui/pasteboard_.html
>>>
>>>
>>> On Thu, 28 Dec 2017 at 04:30, Stephen Foster  
>>> wrote:
>>>
 If I wanted to build a drag-and-drop, visual programming interface for 
 programming in DrRacket, is there any prior work I can build on?  Ideally, 
 I'd like to implement this as a DrRacket "snip", so that my students can 
 make programs that are partially text-based and partially visual.  Any 
 suggestions?  Has anyone done something in the ballpark?  

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Racket Users" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to racket-users...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Blockly-Like Interface in DrRacket

2018-01-02 Thread Leif Andersen
Hello Stephens (this is going to be fun...I just know it.)

As Stephen D pointed out, there was a push to add traditional gui elements 
to DrScheme (now DrRacket), which currently lives in the `embedded-gui`[1] 
collection. Although honestly, that library is old and hasn't been 
maintained for years.

Another alternative is my editor collection which is still in VERY early 
stages of development[2], but it also lets you build editors in DrRacket. 
I'm still making a cleaner interface for it, and ultimately I would like to 
be able to make a nice graphical video editor with it. (Powered by #lang 
video[3]). But for now, you can see an example of doing a similar thing 
(making a video editor that is embedded directly in code) on github[4].

Good luck Stephen F. and feel free to ping me if you have any questions.

[1]: https://docs.racket-lang.org/embedded-gui/index.html
[2]: https://github.com/videolang/idmt
[3]: https://lang.video
[4]: https://github.com/videolang/video/blob/master/video/private/editor.rkt

~Leif Andersen

On Monday, January 1, 2018 at 12:39:10 PM UTC-5, Stephen Foster wrote:
>
> Yes, exactly -- Like Snap! except I don't need the runtime, just the code 
> editing paradigm.
>
> I googled for insert-gui and the closest thing I found was this:
>
> https://github.com/mflatt/guibuilder 
> 
>
> This seems really promising.
>
> Also, I didn't know about the plot library and its interactive snips.  So 
> I'll look more deeply at that too.
>
> Thanks!
>
> --Stephen
>
> On Saturday, December 30, 2017 at 5:31:28 PM UTC-8, spdegabrielle wrote:
>>
>> Hi Stephen, 
>>
>> I'm assuming you meant something like Snap (http://snap.berkeley.edu) in 
>> Dr Racket? 
>>  
>> Snips are powerful; they can inserted in text and pasteboard editors; 
>> they can be dynamic(e.g. plot), and they can contain other editors(text or 
>> pasteboard).
>>
>> The only possibly related prior work I’m aware of was an insert-gui 
>> functionality in DrRacket (maybe even DrScheme?) which allowed you to 
>> insert GUI elements into program text.
>>
>> There was a query about 'Extending DrRacket with non-text tabs' that 
>> might be helpful (see 
>> https://groups.google.com/d/msg/racket-users/Iu2XtxNX_Kk/SiavnnkYDEoJ)
>>
>> The DrRacket plugins documentation has a example of extending DrRacket 
>> https://docs.racket-lang.org/tools/implementing-tools.html
>>
>> Kind regards, 
>> Stephen D
>>
>> some documentation links:
>>  * DrRacket Plugins: http://docs.racket-lang.org/tools/index.html
>>
>>  * Graphical Interface Toolkit: http://docs.racket-lang.org/gui/ 
>> * Pasteboard(editor): 
>> http://docs.racket-lang.org/gui/pasteboard_.html
>>
>>
>> On Thu, 28 Dec 2017 at 04:30, Stephen Foster  
>> wrote:
>>
>>> If I wanted to build a drag-and-drop, visual programming interface for 
>>> programming in DrRacket, is there any prior work I can build on?  Ideally, 
>>> I'd like to implement this as a DrRacket "snip", so that my students can 
>>> make programs that are partially text-based and partially visual.  Any 
>>> suggestions?  Has anyone done something in the ballpark?  
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Racket Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to racket-users...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Blockly-Like Interface in DrRacket

2018-01-01 Thread Stephen Foster
Yes, exactly -- Like Snap! except I don't need the runtime, just the code 
editing paradigm.

I googled for insert-gui and the closest thing I found was this:

https://github.com/mflatt/guibuilder

This seems really promising.

Also, I didn't know about the plot library and its interactive snips.  So 
I'll look more deeply at that too.

Thanks!

--Stephen

On Saturday, December 30, 2017 at 5:31:28 PM UTC-8, spdegabrielle wrote:
>
> Hi Stephen, 
>
> I'm assuming you meant something like Snap (http://snap.berkeley.edu) in 
> Dr Racket? 
>  
> Snips are powerful; they can inserted in text and pasteboard editors; they 
> can be dynamic(e.g. plot), and they can contain other editors(text or 
> pasteboard).
>
> The only possibly related prior work I’m aware of was an insert-gui 
> functionality in DrRacket (maybe even DrScheme?) which allowed you to 
> insert GUI elements into program text.
>
> There was a query about 'Extending DrRacket with non-text tabs' that might 
> be helpful (see 
> https://groups.google.com/d/msg/racket-users/Iu2XtxNX_Kk/SiavnnkYDEoJ)
>
> The DrRacket plugins documentation has a example of extending DrRacket 
> https://docs.racket-lang.org/tools/implementing-tools.html
>
> Kind regards, 
> Stephen D
>
> some documentation links:
>  * DrRacket Plugins: http://docs.racket-lang.org/tools/index.html
>
>  * Graphical Interface Toolkit: http://docs.racket-lang.org/gui/ 
> * Pasteboard(editor): http://docs.racket-lang.org/gui/pasteboard_.html
>
>
> On Thu, 28 Dec 2017 at 04:30, Stephen Foster  > wrote:
>
>> If I wanted to build a drag-and-drop, visual programming interface for 
>> programming in DrRacket, is there any prior work I can build on?  Ideally, 
>> I'd like to implement this as a DrRacket "snip", so that my students can 
>> make programs that are partially text-based and partially visual.  Any 
>> suggestions?  Has anyone done something in the ballpark?  
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket-users...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Blockly-Like Interface in DrRacket

2017-12-30 Thread Stephen De Gabrielle
Hi Stephen,

I'm assuming you meant something like Snap (http://snap.berkeley.edu) in Dr
Racket?

Snips are powerful; they can inserted in text and pasteboard editors; they
can be dynamic(e.g. plot), and they can contain other editors(text or
pasteboard).

The only possibly related prior work I’m aware of was an insert-gui
functionality in DrRacket (maybe even DrScheme?) which allowed you to
insert GUI elements into program text.

There was a query about 'Extending DrRacket with non-text tabs' that might
be helpful (see
https://groups.google.com/d/msg/racket-users/Iu2XtxNX_Kk/SiavnnkYDEoJ)

The DrRacket plugins documentation has a example of extending DrRacket
https://docs.racket-lang.org/tools/implementing-tools.html

Kind regards,
Stephen D

some documentation links:
 * DrRacket Plugins: http://docs.racket-lang.org/tools/index.html

 * Graphical Interface Toolkit: http://docs.racket-lang.org/gui/
* Pasteboard(editor): http://docs.racket-lang.org/gui/pasteboard_.html


On Thu, 28 Dec 2017 at 04:30, Stephen Foster 
wrote:

> If I wanted to build a drag-and-drop, visual programming interface for
> programming in DrRacket, is there any prior work I can build on?  Ideally,
> I'd like to implement this as a DrRacket "snip", so that my students can
> make programs that are partially text-based and partially visual.  Any
> suggestions?  Has anyone done something in the ballpark?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.