The spiffy <https://wiki.call-cc.org/eggref/4/spiffy> egg will let you make what you're looking for, but it doesn't provide the web-DSL that Sinatra has. You could make your own DSL, though, depending on what you're trying to do. I put together a small spiffy wrapper that works like this:
https://github.com/Adellica/reser/blob/master/example.scm It's not in the coops, so chicken-install reser won't work (you'll have to do clone and cd reser && chicken-install) K. On Mon, Dec 28, 2015 at 9:11 AM, 机械唯物主义 : linjunhalida < linjunhal...@gmail.com> wrote: > Looks like artanis is for guile and it needs to be compiled, not for > Chicken. > Is there any way to install it in Chicken? > > 2015-12-28 0:47 GMT+08:00 Dan Leslie <d...@ironoxide.ca>: > > > > If you are desiring a monolithic web stack of the Rails sort, then what > > you probably are looking for is GNU Artanis: > > > > http://web-artanis.com/index.html > > > > -Dan > > > > 机械唯物主义 : linjunhalida <linjunhal...@gmail.com> writes: > > > >> Hi scheme users, > >> > >> I'm a rails programmer, and knows scheme long time ago but don't have > >> chance to write scheme code in production level. I want to use scheme > >> for website development but it turns out there is no decent framework > >> for web development in chicken. > >> > >> Is there any recommendations? awful is not very useful. > >> Any library same as Rails or Sinatra? > >> > >> Sinatra writes like this: > >> > >> (get "/" (lambda (request) "hello") > >> (get "/from/:id" (lambda (request) (sprintf "hello ~A" (request 'id)))) > >> (get "/page/:id" (lambda (request) > >> (let ((data ($query (from pages) (where (= id (request 'id)))))) > >> (render "templates/page" ('data data)))) > >> > >> Thanks. > > > > > > -- > > Coder, Gamer, Reader. > > _______________________________________________ > Chicken-users mailing list > Chicken-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/chicken-users >
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users