Giter Club home page Giter Club logo

pyscheme's Introduction

PyScheme

A small lambda-language interpreter written in Python

Syntax is very much in the javascript/C/Java style, and I'm currently parsing with a hand-written recursive descent parser, which isn't ideal.

First Impressions

To get a feel for the language, first check out the wiki, then read through the integration tests in pyscheme/tests/integration

Cloning

I'm new to Python so if anyone has any better way of doing this please comment.

In order to get this running on my laptop after pushing to GitHub from my home computer I did the following:

  1. Use PyCharm to create a new project called PyScheme.
  2. go to your pycharm projects root directory:
    • cd ~/PycharmProjects
  3. clone this repository to a temporary location alongside (not in) the PyScheme project:
  4. Copy everything from that temp location into the PyScheme directory (note the trailing slashes):
    • cp -R pyscheme-tmp/ PyScheme/
  5. delete the unneeded temporary clone:
    • rm -rf pyscheme-tmp
  6. check that it worked:
    • cd PyScheme
    • git status

If, like me, you're using PyCharm CE, You'll additionally need to install coverage. To install coverage go to the root of the distro and do

$ source ./venv/bin/activate
$ pip install coverage

Test Coverage

Once those packages are installed, to see test coverage just run the run_coverage.py script, then open htmlcov/index.html in your browser.

I believe that the PyCharm Professional edition has built-in coverage support.

pyscheme's People

Contributors

billhails avatar

Watchers

none-p avatar James Cloos 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.