search for: lexifi

Displaying 9 results from an estimated 9 matches for "lexifi".

2014 Jul 01
2
[PATCH] generator: Sort the structs.
...means that any attempt to reference stat.ino would fail because dirent.ino appears second in the file, overriding stat.ino. In OCaml >= 4.01 the compiler now uses some disambiguation rules based on the known types to resolve this problem. See: http://ocaml.org/releases/4.01.0.html http://www.lexifi.com/blog/type-based-selection-label-and-constructors http://www.lexifi.com/blog/ocaml-extensions-lexifi-overidding-record-labels-and-constructors --- generator/structs.ml | 8 ++++++-- gobject/Makefile.inc | 48 ++++++++++++++++++++++++------------------------ 2 files changed, 30 insertions(+), 2...
2017 Sep 24
0
Minimum OCaml compiler version
...- ‘match’ can catch exceptions. (OCaml >= 4.02, https://blog.janestreet.com/pattern-matching-and-exception-handling-unite/) - Record fields and variant constructors can have the same name and the compiler sorts out the right struct/type intelligently. (OCaml >= 4.01, http://www.lexifi.com/blog/type-based-selection-label-and-constructors) - GADTs and first class modules allow more "sophisticated" used of modules, although I tend to think that these will just make the code more confusing so I would push back on people trying to use if they were being too cleve...
2008 Jul 31
0
[LLVMdev] Is there room for another build system?
Óscar Fuentes wrote: > I'm evaluating CMake (1) primarily as an alternative build system for > Visual Studio users, although it can easily be a replacement for > `configure' and hand-made makefiles too, providing a single build system > for all platforms. CMake is a tool that takes a project description and > configures, generates makefiles, project files for IDEs, etc as
2007 Nov 28
5
[LLVMdev] LLVM on MinGW
Hello, I'm trying to use LLVM on Windows, using the MinGW toolchain that comes with Cygwin (gcc -mno-cygwin, not the standalone msys package). Has anyone successfully built LLVM from sources with this toolchain? The ./configure scripts automatically detects a Cygwin environment. I've spent some time trying to let it know that it should compile for MinGW. FWIW, here's what I've
2008 Jul 30
16
[LLVMdev] Is there room for another build system?
[Repost: The mailing list was down yesterday. Sorry if this is a duplicate] I'm evaluating CMake (1) primarily as an alternative build system for Visual Studio users, although it can easily be a replacement for `configure' and hand-made makefiles too, providing a single build system for all platforms. CMake is a tool that takes a project description and configures, generates makefiles,
2008 Jan 16
0
[LLVMdev] Compiling LLVM on Mingw/Cygwin
Hello, This is an update on my previous email about the compilation of LLVM on Mingw/Cygwin (i.e. compiling in a Cygwin environment a version of LLVM that does not depend on the Cygwin DLL). Thanks to recent changes in the svn, such a build is now as simple as: ./configure --build=i686-pc-mingw32 CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" ac_cv_lib_dl_dlopen=no (and
2007 Aug 08
1
[LLVMdev] In-memory compilation/execution
Hello, I now have a working installation of LLVM under Vista/Cygwin and I can play with it. First of all, I'd like to say that I'm impressed by the elegance of the APIs and the overall quality of the project. What we'd like to do is to compile textual LLVM code in memory and execute it immediately. The code would take some time to run, and so we'd like to fully optimize it.
2007 Nov 29
2
[LLVMdev] LLVM on MinGW
Antony Blakey wrote: > SVN head LLVM and Clang built out of the box for me a week ago on > MSYS/MINGW, using the following files: Ok, I tried to do the same. The compilations stops with the following error message (actually, I got to the same point in my attempt to build LLVM with the MinGW compiler shipped with Cygwin): llvm[1]: Compiling MachineLoopInfo.cpp for Debug build
2008 Jan 03
2
[LLVMdev] Building LLVM on Windows
Hello, Thanks to recent changes in the SVN, I was able to successfully build LLVM under Windows in the following environments: 1. Cygwin; 2. MinGW/MSYS; 3. "gcc -mno-cygwin" (a.k.a MinGW on Cygwin). For 3., I've had to make a few manual changes to the build system. Care is needed because non-Cygwin external commands require Windows paths and Cygwin's make does not like path