GithubHelp home page GithubHelp logo

thomaswp / isnap Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 7.0 420.74 MB

Snap, with logging

License: GNU Affero General Public License v3.0

JavaScript 95.35% PHP 1.67% HTML 0.38% CSS 0.47% TeX 1.94% Java 0.18% Batchfile 0.01% Shell 0.01%

isnap's Introduction

Snap! Build Your Own Blocks

For information on logging, see logging/README.md

http://snap.berkeley.edu

a visual, blocks based programming language inspired by Scratch

written by Jens Mönig and Brian Harvey [email protected], [email protected]

Copyright (C) 2008-2020 by Jens Mönig and Brian Harvey

Snap! is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Want to use Snap! but scared by the open-source license? Get in touch with us, we'll make it work.

isnap's People

Contributors

jmoenig avatar thomaswp avatar cycomachead avatar bromagosa avatar brianharvey avatar mmsequeira avatar bl-nero avatar jguille2 avatar nathan avatar virajmahesh avatar boyzhirui avatar superruzafa avatar yihuandong avatar dlipova avatar brollb avatar jeeves833 avatar yossicohen avatar temaps avatar ubertao avatar jadga-h avatar sdmeijer avatar r4356th avatar kach avatar swiperthefox avatar hm100 avatar marwahaha avatar galacticmonkeys avatar dashdashzako avatar olsson avatar simon-mong avatar

Stargazers

 avatar Arun Balajiee Lekshmi Narayanan avatar Chao Wen avatar  avatar Randy Macdonald avatar  avatar Chih-Kai Chang avatar Boris Bliznioukov avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

isnap's Issues

Extract Logging Functions

Hey,

So I was looking into stealing some of the logging code for the autograder, since most of the interactions we'd want to track are pretty similar. This isn't urgent or anything...

Do you think it'd make sense to extract out the logging functions into a place where they could be dynamically loaded / proxied?

I was thinking of doing something like this:

let entry_logging = [
     [IDE_Morph.prototype.openIn, "IDE.opened"],
     [snap_function, "name", paramerters_function]
]

And then we could loop through the list and install proxies for each method. There are going a few cases where stuff is really nested inside Snap!, that would be hard to handle, but some of them could be solved by extracting Snap!'s callbacks from anonymous functions into ones that are accessible.

I think we could get the parameters to work by binding a function that returns them, though I haven't gotten a chance to try this...

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.