jcowgill / lcool Goto Github PK
View Code? Open in Web Editor NEWLLVM Cool Compiler (because why not)
License: GNU General Public License v3.0
LLVM Cool Compiler (because why not)
License: GNU General Public License v3.0
LCool should have a test suite with lots of cool programs which can be fed into the compiler. This also serves as examples for cool programs since there aren't too many about.
Hello, Sorry for bothering you. I'm a LLVM beginner. I found your project lcool in github which is really cool and I want to learn llvm by reading your code. But I have a problem when I build lcool. My llvm version is LLVM_3.50svn
When I run "cmake ..", It generates an error: Could NOT find LLVM (missing: LLVM_LIBRARIES). I found the code you write in FindLLVM.cmake:
find_library(
LLVM_LIBRARIES
"LLVM-${LLVM_VERSION}"
PATHS "${LLVM_LIBRARY_DIRS}")
I have no library named "LLVM-3.50svn" in /usr/local/lib(LLVM_LIBRARY_DIRS), so i changed "LLVM-${LLVM_VERSION}" to NAMES "LLVMCore" "LLVMSupport", then it can generate makefile, but when i run make, It will still generate link error, such as "undefined reference to `llvm::Module::getTypeByName(llvm::StringRef) const'".
So how should I modify the FindLLVM.cmake in order to build the lcool successfully?
Thanks.
Currently the ref-counting isn't quite right. This should be resolved to prevent (or at least reduce) memory leaks. This will probably be done after the test suite so I have some programs to test this against.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.