tinyscheme | TinyScheme is easy to learn and modify | Interpreter library

 by   zpl-c C Version: Current License: Non-SPDX

kandi X-RAY | tinyscheme Summary

kandi X-RAY | tinyscheme Summary

tinyscheme is a C library typically used in Utilities, Interpreter applications. tinyscheme has no bugs, it has no vulnerabilities and it has low support. However tinyscheme has a Non-SPDX License. You can download it from GitHub.

TinyScheme is a lightweight Scheme interpreter that implements as large a subset of R5RS as was possible without getting very large and complicated. It is meant to be used as an embedded scripting interpreter for other programs. As such, it does not offer IDEs or extensive toolkits although it does sport a small top-level loop, included conditionally. A lot of functionality in TinyScheme is included conditionally, to allow developers freedom in balancing features and footprint. As an embedded interpreter, it allows multiple interpreter states to coexist in the same program, without any interference between them. Programmatically, foreign functions in C can be added and values can be defined in the Scheme environment. Being a quite small program, it is easy to comprehend, get to grips with, and use. This version was modified to support CMake projects for easier embedding. Few bugs were fixed and improved. Read Manual.txt for more information.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tinyscheme has a low active ecosystem.
              It has 8 star(s) with 1 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 2 have been closed. On average issues are closed in 361 days. 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 has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              tinyscheme releases are not available. You will need to build from source code and install.

            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

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/zpl-c/tinyscheme.git

          • CLI

            gh repo clone zpl-c/tinyscheme

          • sshUrl

            git@github.com:zpl-c/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

            Explore Related Topics

            Consider Popular Interpreter Libraries

            v8

            by v8

            micropython

            by micropython

            RustPython

            by RustPython

            otto

            by robertkrimen

            sh

            by mvdan

            Try Top Libraries by zpl-c

            librg

            by zpl-cC

            zpl

            by zpl-cC

            enet

            by zpl-cC

            tester

            by zpl-cC

            eco2d

            by zpl-cC