Cookbook for Scheme Jakub T. Jankiewicz (25 May 2021 19:08 UTC)
|
Re: Cookbook for Scheme
Amirouche
(25 May 2021 23:56 UTC)
|
Re: Cookbook for Scheme
Lassi Kortela
(26 May 2021 17:39 UTC)
|
Cookbook for Scheme Jakub T. Jankiewicz 25 May 2021 19:08 UTC
It would be nice to have cookbook for common solutions to different problems/algorithms. I was looking at old cookbook at Archive.org WayBack machine: https://web.archive.org/web/20150206131414/http://schemecookbook.org/Cookbook/RecipeIndex I think that we can do better than that. Scheme use to be (without SRFI and latest R7RS spec) very basic language where you need to do everything yourself. It would be nice to have big list of examples that will show how to do common things in Scheme. We can create better structure for recipes (Than old cookbook) and give credit to each recipe author. Another good example for similar project is Rosetta Code: https://rosettacode.org/wiki/Rosetta_Code It's Wiki with solution to common problems in various languages. I think that if we write about this in Reddit lot of folks will create recipes for different things. Maybe just get their own code that they have on hard drive and share it, so they can showcase their code. If you want to see similar project you can look at python: https://code.activestate.com/recipes/ It's like a social project, where users write recipe and others comment on them. I think that it would be great place to learn Scheme. If this would be a project that that would be self sustained it would be something that could be posted to Hacker News independently to posting about scheme.org website itself. The project can be started as github repo where users will be creating issues with recipes. We can even use GitHub API to create website based on GitHub repo so we don't need to write lot of code. We can use this project as inspiration: https://github.com/utterance/utterances It's comments for static file hosting like GitHub pages using GitHub issues. We can start collecting recipes and later work on some code that will showcase them on website. And we can start by integrating by hand. From start we should state that all solutions will be released under Creative Commons license so they could be reused. I would pick CC-BY attribution only license or CC-0 Public Domain. And to be clear, I can work on this if I get domain cookbook.scheme.org, I will probably need access to the server. But first we can start with GitHub repo and publish announcement on Reddit and see if we will have something to get started with. -- Jakub T. Jankiewicz, Web Developer https://jcubic.pl/me