tinyscheme | Experimental fork of TinyScheme and extensions TSX , RE

 by   ignorabimus C Version: Current License: MIT

kandi X-RAY | tinyscheme Summary

kandi X-RAY | tinyscheme Summary

tinyscheme is a C library. tinyscheme has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Experimental fork of [TinyScheme] "D. Souflis, J. Shapiro - TinyScheme Download site") and extensions [TSX] "Manuel Heras-Gilsanz - TinyScheme Extensions"), [RE] "D. Souflis, J. Shapiro - TinyScheme Download").
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tinyscheme has a low active ecosystem.
              It has 7 star(s) with 1 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              tinyscheme has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of tinyscheme is current.

            kandi-Quality Quality

              tinyscheme has 0 bugs and 0 code smells.

            kandi-Security Security

              tinyscheme has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              tinyscheme code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tinyscheme is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tinyscheme releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tinyscheme
            Get all kandi verified functions for this library.

            tinyscheme Key Features

            No Key Features are available at this moment for tinyscheme.

            tinyscheme Examples and Code Snippets

            No Code Snippets are available at this moment for tinyscheme.

            Community Discussions

            QUESTION

            Y combinator in scheme blows up using Church numbers, but works on regular numbers
            Asked 2021-Apr-23 at 09:54

            I've just read "A Tutorial Introduction to the Lambda Calculus1" by Raul Rojas. I put the lambda expressions into Scheme (TinyScheme) to try them out. Everything worked except the recursive function to calculate the sum of the Church numbers 0,1,...,N using the Y-combinator which runs out of memory. Bizarrely, the Y-combinator works if I calculate the sum using regular numbers.

            Here is my Y-combinator,

            ...

            ANSWER

            Answered 2021-Apr-23 at 09:54

            The lambda calculus only works with normal order reduction (i.e. arguments are only evaluated when their values are needed), and Scheme uses applicative order reduction (arguments are evaluated first), except in "special forms".

            Your code works with regular numbers not because of the numbers, but because of cond, which will evaluate at most one of its clauses.

            If you replace the cond in your sum1 with a regular function, your computation will not terminate with regular numbers either.

            Source https://stackoverflow.com/questions/67212417

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tinyscheme

            Install "Visual C++ 2010" or later.
            I compiled using "Visual C++ 2010 Express Edition SP1", but "2008" or earlier maybe OK.
            Open the Visual Studio command prompt, or open Normal command prompt then run. and change directory to unpacking source files.
            To build an executable, just run.
            To build as a static library, run with "static" option.

            Support

            [D. Souflis, J. Shapiro - TinyScheme Home](http://tinyscheme.sourceforge.net/home.html). [Manuel Heras-Gilsanz - TinyScheme Extensions](http://heras-gilsanz.com/manuel/tsx.html). [TinyScheme RE extension - TinyScheme Download](http://tinyscheme.sourceforge.net/download.html).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ignorabimus/tinyscheme.git

          • CLI

            gh repo clone ignorabimus/tinyscheme

          • sshUrl

            git@github.com:ignorabimus/tinyscheme.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link