GithubHelp home page GithubHelp logo

attila-lendvai-patches / poof Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metareflection/poof

0.0 0.0 0.0 2.46 MB

Prototypes: Object Orientation, Functionally

License: Apache License 2.0

JavaScript 13.23% Scheme 8.90% Racket 45.35% CSS 22.96% TeX 9.06% Makefile 0.49%

poof's Introduction

Prototypes: Object Orientation, Functionally

This directory contains the source for our paper “Prototypes: Object Orientation, Functionally”. View the precompiled PDF. The same Racket Scribble source can produces simultaneously a printable document and a runnable library.

One version of this paper was published and presented at the Scheme and Functional Programming Workshop 2021, see the presentation video, with the source code at git tags Scheme-Workshop-2021-paper for the paper as published then, and Scheme-Workshop-2021-slides for the slides as presented.

Abstract

This paper elucidates the essence of Object-Oriented Programming (OOP), using a constructive approach: we identify a minimal basis of concepts with which to synthesize existing and potential object systems. We reduce them to constructions atop the pure untyped lambda calculus, thereby obtaining both denotational semantics and effective implementation. We start from the simplest recognizable model of prototype-based OOP, so simple it arguably does not even have “objects” as such. We build further models of increasing sophistication, reproducing a growing subset of features found in past object systems, including original combinations. We also examine how our approach can deal with issues like typing, modularity, classes, mutation. We use Scheme to illustrate our approach.

License

The code herein is available as free software under the Apache License, version 2.0. See the file LICENSE.

Build instructions

To install dependencies:

make prerequisites

To create the document:

make

To run the tests:

make test

To load the library and experiment with it at the REPL:

make repl

Related Talk by Same Authors

  • François-René Rideau, Prototype Object Programming in Gerbil Scheme, talk given on 2020-11-07 at LispNYC, video, notes.

Citation

@Conference{poof2021,
  title = {Prototypes: Object-Orientation, Functionally},
  author = {François-René Rideau and Alex Knauth and Nada Amin},
  year = {2021},
  booktitle = {Scheme and Functional Programming Workshop},
  url = {https://github.com/metareflection/poof},
}

poof's People

Contributors

fare avatar namin avatar alexknauth avatar kwannoel 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.