Code Monkey home page Code Monkey logo

ocsquirrel's People

Contributors

wanderwaltz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ocsquirrel's Issues

Integrate OCSquirrelTable into NSDictionary cluster

Idea is the following: create OCSquirrelTable class which inherits NSMutableDictionary and conforms to <OCSquirrelTable> protocol. It will contain OCSquirrelTableImpl as a private property and will forward <OCSquirrelTable> protocol's method calls to this property.

Make OCSquirrelVM return OCSquirrelTable instances from OCSquirrelVM+SQObjects category methods. That way the actual implementation of OCSquirrelTableImpl stays encapsulated while we still have all NSDictionary-like functionality and more.

<NSCopying> for Squirrel objects

Squirrel has cloning API for objects, so we should add <NSCopying> support to all of the protected OCSquirrelObjectImpl subclasses and their corresponding public incarnations.

Think about completely hiding the raw Squirrel API.

Exposing HSQOBJECTs and HSQUIRRELVM directly leaves to much space to break things apart. If we can provide everything needed using only Objective-C API, raw Squirrel API will be better completely encapsulated.

This also means not importing the squirrel.h and scalar Squirrel types.

Integrate OCSquirrelArray into NSArray cluster

Create OCSquirrelArray class which inherits from NSMutableArray and conforms to <OCSquirrelArray> protocol. It will have a private property of OCSquirrelArrayImpl class and will forward method calls of <OCSquirrelArray> to this property.

Make OCSquirrelVM return instances of OCSquirrelArray from its OCSquirrel+SQObjects category.

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.