Re: [racket-users] Configuration as main file (was Re: #lang languages and cyclic dependencies)

2017-11-29 Thread Neil Van Dyke




On 11/28/2017 11:58 PM, Jack Firth wrote:

What if the configuration file was the main module of your app, instead
of something imported by your app?


If you want to combine this with per-user customization in Racket code, 
the 3rd message in the following thread suggests one way to handle 
executables smoothly:


Subject: low-friction app extensibility in racket
Date: Thu, 6 Jul 2017 05:53:40 -0400
https://groups.google.com/forum/#!topic/racket-users/6hn9J-r0Nek

--
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.


[racket-users] Configuration as main file (was Re: #lang languages and cyclic dependencies)

2017-11-29 Thread Tony Garnock-Jones
On 11/28/2017 11:58 PM, Jack Firth wrote:
> What if the configuration file was the main module of your app, instead
> of something imported by your app?

I've tried this, and it works well. I haven't used a custom config #lang
yet, but even with regular old Racket, it works very well.

For example:
https://github.com/tonyg/racket-pkg-website/blob/master/configs/tonyg.rkt

Cheers,
  Tony

-- 
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.