Giter Club home page Giter Club logo

cl-with's Introduction

! Hello !
+ I am a minimalist - and despise needless complexity.
+ I breathe Common Lisp - and C or assembly when needed.  As a language geek, I find most vulgar.
+ I live in deep rabbitholes - carved by structured data in my attempts to write editors, compilers, and nifty datastructures (especially probabilistic and immutable ones).  Occasionally I put on my EE hat and design hardware, often with FPGAs or 6502s.  
+ I need to get off github... Gitlab is almost as evil.  Why am I still here?

cl-with's People

Contributors

stacksmith avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

d3v3l0

cl-with's Issues

private CFFI symbols in use

ISSUE

cffi::parse-type use

CAUSE

CL-WITH uses actual class objects to dispatch on. Starting with a symbol for Lisp classes, or a keyword like :int for built-in CFFI classes, or a list like (:struct foo), a GET-TYPE-INFO method is chosen and applied to generate an a actual <..class> object. This object is used to dispatch the GET-XXX-CLAUSE method, which returns the expansion for the clause.

ORIGINS

This was originally specified in order to deal with two possible Lisp classes for instances of structs and classes, respectively -- as well as CFFI's structs and basic types. It was deemed more reliableto dispatch on the actual class object rather than rely on 'foo=lisp-object, (foo)=cffi-object and :foo=cffi-basic-object... In addition, symbols may be used as single-level variables to shorten cffi types...

PROPOSED SOLUTION

Leave as is? CFFI is a mature library, and parse-type is not likely to change.

STATUS

Will keep this open for now, at least as a reminder

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.