GithubHelp home page GithubHelp logo

iamfirecracker / cl-cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lispcookbook/cl-cookbook

0.0 2.0 0.0 20.07 MB

The Common Lisp Cookbook

Home Page: http://lispcookbook.github.io/cl-cookbook/

License: Other

Common Lisp 32.43% HTML 5.76% CSS 2.54% C 5.54% JavaScript 48.56% Ruby 0.41% SCSS 4.67% Makefile 0.09%

cl-cookbook's Introduction

Lisp Cookbook

A Cookbook is an invaluable resource, as it shows how to do various things in a clear fashion without all the theoretical context. Sometimes you just need to look things up. While cookbooks can never replace proper documentation such as the HyperSpec or books such as Practical Common Lisp, every language deserves a good cookbook, Common Lisp included.

The CL Cookbook aims to tackle all sort of topics, for the beginner as for the more advanced developer.

Contributing

Thanks for contributing to the Cookbook.

You can start by having a look at the style guide.

When adding new content, please ensure it renders properly.

There are two ways to do this:

The first option is to install Jekyll globally and to run jekyll serve in a folder where this repository was checked out.

Then open http://127.0.0.1:4000/cl-cookbook/ (the last / is important).

Another option is to install the Jekyll version of this repository locally with Ruby gems. To do this do the following:

  1. Ensure that bundler is installed (gem install bundler should do; in case that doesn't work, try gem install bundler -v '1.17.3' as per this SO page.)
  2. bundle install --path vendor/bundle
  3. bundle exec jekyll serve

Troubleshooting

It can happen that you have older version of ruby installed in the system and bundler install will fail. To fix this, you need to update ruby. If system update is not an option, consider installing rbenv.

    # Check rbenv homepage for install instructions on systems other than Mac OS X
    brew install rbenv ruby-build

    # Add rbenv to bash so that it loads every time you open a terminal
    echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
    source ~/.bash_profile

    # Install Ruby
    rbenv install 2.5.0
    rbenv global 2.5.0
    ruby -v

After this you can proceed as usual:

  1. gem install bundler
  2. bundle install --path vendor/bundle
  3. bundle exec jekyll serve

Also, refer to the CONTRIBUTING.md file.

Building the EPUB

Run make epub. See make-cookbook.lisp.

To exclude regions of text of the build (for example, embedded videos), use these flags:

<!-- epub-exclude-start -->
<!-- epub-exclude-end -->

Origins

This is a fork of the Common Lisp Cookbook, moved from SourceForge.

This project brings the Common Lisp Cookbook to this decade. Development of the original Common Lisp Cookbook in SourceForge halted in 2007. In the meantime, a lot has happened in the land of Common Lisp. Tools and implementations have been improving, and some have fallen out of favor. Most notably, Common Lisp users can now benefit from the Quicklisp library manager.

The main goal is making the Cookbook more modern and more accessible in addition to updating and expanding the content.

Support

You can support the individuals that constantly improve the Cookbook. See the Github Sponsors icon. Thanks for them!

cl-cookbook's People

Contributors

alx-a avatar ambrevar avatar bendudson avatar can3p avatar danielkeogh avatar digikar99 avatar dklayer avatar eudoxia0 avatar fstamour avatar imnisen avatar jgarte avatar jsjolen avatar ldbeth avatar leosongwei avatar lispnik avatar mmontone avatar mwgkgk avatar nsrahmad avatar otjura avatar paul-donnelly avatar pkulev avatar pnathan avatar rprimus avatar sheepduke avatar stepnem avatar svetlyak40wt avatar thegoofist avatar various-and-sundry avatar vindarel avatar vityok avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.