[racket-users] about 《Revenge of the Son of the Lisp Machine》 Appendix

2020-06-19 Thread Yuki Lee
https://www2.ccs.neu.edu/racket/pubs/icfp99-ffkf.pdf
I have read this paper.
I encountered a problem when I tried to run the code at the end.
After reading this article, I added at the beginning

#lang racket
(require (lib "unitsig.ss")) ;;<- that's what i added

(define SchemeEsq
  (unit/sig () ;; no exports
(import mredˆ)
;; The repl editor class
(define esq-text%
Then the problem becomes
unit/sig: signature not defined in: mredˆ  
Does anyone know what should I do?I don't know how to solve it. The f1 page 
doesn't work,

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/0cac4758-b334-42c7-b62b-b92139c43361o%40googlegroups.com.


[racket-users] about 《Revenge of the Son of the Lisp Machine》 Appendix

2020-06-19 Thread Yuki Lee
https://www2.ccs.neu.edu/racket/pubs/icfp99-ffkf.pdf 

I have read this paper.
I encountered a problem when I tried to run the code at the end.

[image: Image.png]
After reading this article

, I added at the beginning

#lang racket
(require (lib "unitsig.ss")) ;;<- that's what i added

(define SchemeEsq
  (unit/sig () ;; no exports
(import mredˆ)
;; The repl editor class
(define esq-text%
Then the problem becomes
unit/sig: signature not defined in: mredˆ  
Does anyone know what should I do?I don't know how to solve it. The f1 page 
doesn't work,

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/4074fbf3-0b4f-4a65-a260-5e0c8f48a7b4o%40googlegroups.com.


Re: [racket-users] about 《Revenge of the Son of the Li sp Machine》 Appendix

2020-06-20 Thread Yuki Lee
thanks for the reply!
I'm sorry I didn't specify the version and OS of the racket, it works very 
well, thank you.


在 2020年6月20日星期六 UTC+8下午7:43:46,Matthew Flatt写道:
>
> At Fri, 19 Jun 2020 20:25:47 -0700 (PDT), Yuki Lee wrote: 
> > https://www2.ccs.neu.edu/racket/pubs/icfp99-ffkf.pdf 
> > 
> > I have read this paper. 
> > I encountered a problem when I tried to run the code at the end. 
>
> Unfortunately, that code that pre-dates the current Racket module 
> system, so it did not keep running for very long. 
>
> Enclosed is a somewhat modernized version of the code that should run 
> in recent (last 15-20 years?) Racket. 
>
>
> Matthew 
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/b0b97c00-bf44-48d7-87f3-0b9027e0c33ao%40googlegroups.com.


Re: [racket-users] Questions about working on DrRacket and gui

2020-06-21 Thread Yuki Lee
If you wrote a note or blog while reading the code, please share it with 
me, thank you.

在 2020年5月6日星期三 UTC+8下午5:50:42,Dexter Lagan写道:
>
>   Couple years ago I developed an IDE for NewLISP called NewIDE using a 
> commercial tool called Xojo. It was supposed to become NewLISP's official 
> IDE. I had to put the project on pause because of work and family, and at 
> the same time I switched to Racket, hence my interest. It had replicated 
> most of DrRacket's basic functions apart from the debugger and profiler, 
> but was much faster (native controls + LLVM). I have plenty of time on my 
> hands lately, and I'll take a couple hours each day to analyze DrRacket and 
> see where I can reduce delays and improve responsiveness. Who knows, it 
> might pay off.
>
> After a quick first pass over each module, what DrRacket's source needs is 
> :
> 1) a detailed description of what each module does;
> 2) a description of what each function/class does, methods and properties 
> etc. I don't see a lot of comments at the moment.
>
>   I'll gladly volunteer to write those. I'll annotate the code as I go 
> through it, and I'll push it to a new github when I have enough of it 
> documented. If the DrRacket's authors are happy with the result, we'll 
> merge?
>
>   As for the delay, I'm sure there's a callback somewhere which launches 
> the context-sensitive help, or loads the docs in the background like you 
> said. There's gotta be a way to move this loading time somewhere more 
> appropriate, like say during the init splash, or at the very least display 
> a loading dialog box to inform the user.
>
> Let me know what you think,
>
> Dex
>
> On Tue, May 5, 2020 at 6:17 PM Robby Findler  > wrote:
>
>>
>>
>> On Tue, May 5, 2020 at 10:36 AM Gustavo Massaccesi > > wrote:
>>
>>> I try to encourage people to participate, but be careful because this 
>>> task is probably too big for a first contribution. GUI is difficult, 
>>> DrRacket has a lot of moving parts, and opening DrRacket inside DrRacket is 
>>> possible but weird.
>>>
>>>
>> +1
>>  
>>
>>> I think the guess of Matthew is correct, it´s a problem with the blue 
>>> arrow with the docs. There is no pause while you type numbers but when you 
>>> type a letter or +-*/... there is a pause of 1 or 2 seconds.
>>>
>>> I didn't see the code but my guess is that the docs are loaded lazily in 
>>> a thread and when DrRackets see something like an identifier it waits until 
>>> the thread is ready. It would be nice if the blue arrow is disabled until 
>>> the docs are completely loaded lazily. I think Robby can tell if I'm 
>>> correct and how hard is to fix this.
>>>
>>>
>> Definitely sounds like an extremely actionable hypothesis to investigate 
>> and, if it turns out to be correct, I guess it should be a simple matter of 
>> programming to do what you're suggesting.
>>
>> Robby
>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/3fdb0e8b-00d4-481c-bf7d-21ff9a1ea725o%40googlegroups.com.