Giter Site home page Giter Site logo

cl-llvm's Introduction

  • 🔭 I’m currently working on GHC plugins & category theory modeling
  • 🌱 I’m currently learning enriched category theory and dependent type theory
  • 👯 I’m looking to collaborate on writing about functional programming
  • 💬 Ask me about freediving
  • 📫 How to reach me: @sellout on Mastodon.social
  • 😄 Pronouns: they/them
  • ⚡ Fun fact: I can hold my breath for four minutes.

GitHub stats

cl-llvm's People

Contributors

fukamachi avatar ralith avatar rudolph-miller avatar sellout avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cl-llvm's Issues

Having trouble loading the system

Command: (asdf:load-system 'kaleidoscope)
This is the error I'm getting:
Unable to load any of the alternatives: ("libLLVM.so" "libLLVM.so.1" "libLLVM-3.6.so" "libLLVM-3.1.so" "libLLVM-3.1.so.1" "libLLVM-3.1svn.so" "libLLVM-3.1svn.so.1" "libLLVM-3.0.so" "libLLVM-3.0.so.1") [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]

array conversion only works for `(signed-byte 64)`

We need to make the type of the ivector dependent on the value-type of the carray. The nicest way to do this would be if CFFI exposed some way to get the lisp type that a given C type would be converted into.

need access to static functions in Target.h

LLVMInitializeAllTargetInfos, LLVMInitializeAllTargets, and LLVMInitializeNativeTarget are all static, and therefore don’t exist in the DLL. So we can’t use them from Lisp. But they are necessary for setting up a JIT.

Support for LLVM 3.5

Hey,

In case anyone needs help compiling this for LLVM 3.5, you will have to remove the line

((:linker-private-weak-auto "LLVMLinkerPrivateWeakDefAutoLinkage"))

from grovel.lisp. After you've done that, it works just fine (at least on OS X with SBCL).

Tutorial raise error

Tutorial in Common Lisp includes this kind of code

(llvm:with-objects ((*builder* 'llvm:builder))
  ...)

, and this can raise error, because with-objects will be expanded into

(llvm:with-object (*builder* 'llvm:builder)
  ...)

, and the argument placed in 'llvm:builde should be (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING SYMBOL CHARACTER), not (QUOTE SYMBOL).

Though I can fix it in a few minutes, I have to ask which one will suite

(llvm:with-object (*builder* 'llvm:builder)
  ...)

;; or
(llvm:with-object (*builder* llvm:builder)
  ...)

DISPOSE-MODULE causes SIGBUS

LLVMDisposeModule is causing a SIGBUS whenever it is called. The workaround is to just let modules leak for now, but this will have to be sorted out.

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.