This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fslex clexer.fsl | |
compiling to dfas (can take a while...) | |
361 states | |
writing output | |
fsharpc --noframework --nologo --target:library --out:bin/Debug/Lexer.dll --mlcompatibility -r:/usr/lib/fsharp/FSharp.Core.dll -r:/usr/lib/mono/4.0/mscorlib.dll -r:/usr/lib/mono/4.0/System.dll -r:/usr/lib/fsharp/FSharp.PowerPack.dll -r:/usr/lib/fsharp/FSharp.PowerPack.Compatibility.dll -r:/usr/lib/fsharp/FSharp.PowerPack.Build.Tasks.dll LexingStub.fs pretty.fs errormsg.fs cabs.fs cabshelper.fs whitetrack.fs lexerhack.fs \ | |
Tokens.fs clexer.fs Lexer.fs | |
server error: System.IndexOutOfRangeException: Array index is out of range. | |
Server stack trace: | |
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Addin id="FSharpBinding" namespace="MonoDevelop" name="F# Language Binding" | |
author="Community" copyright="???" url="http://www.fsharp.net" | |
description="F# Language Binding" category="Language bindings" version="2.8"> | |
<Runtime> | |
<Import assembly="FSharpBinding.dll" /> | |
<Import assembly="FSharpBinding.Gui.dll" /> | |
</Runtime> | |
<Dependencies> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
я╗┐<?xml version="1.0" encoding="utf-8"?> | |
<Addin id="FSharpBinding" namespace="MonoDevelop" name="F# Language Binding" author="Community" copyright="???" url="http://www.fsharp.net" description="F# Language Binding" category="Language bindings" version="2.8" flags="None"> | |
<Runtime> | |
<Import assembly="FSharpBinding.dll" /> | |
<Import assembly="FSharpBinding.Gui.dll" /> | |
</Runtime> | |
<Dependencies> | |
<Addin id="Core" version="2.8" /> | |
<Addin id="Ide" version="2.8" /> | |
<Addin id="SourceEditor2" version="2.8" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Core | |
open Sexplib.Conv | |
module List = Core.Core_list | |
module String = Core.Core_string | |
let (|>) a f = f a | |
(* | |
let read_all_lines ch = | |
let lines = ref [] in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat project.qbp | |
import qbs.base 1.0 | |
Project { | |
moduleSearchPaths: "." | |
Application { | |
name: "helloworld" | |
files: ["main.cpp", "a.ml"] | |
Depends { name: "Qt.core" } | |
Depends { name: "cpp" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat project.qbp | |
import qbs.base 1.0 | |
Project { | |
moduleSearchPaths: "." | |
Application { | |
name: "helloworld" | |
files: ["code.ml"]//, "gamemap.cpp", "main.cpp" ] | |
Depends { name: "Qt.core" } | |
Depends { name: "cpp" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[18180] 18180 locking /home/kakadu/.opam/lock | |
[18180] FILE(config) read /home/kakadu/.opam/config | |
[18180] 18180 unlocking /home/kakadu/.opam/lock | |
[18180] STATE LOAD-STATE(switch-lock) | |
[18180] STATE load_state root=/home/kakadu/.opam cached=true | |
[18180] FILE(config) read /home/kakadu/.opam/config | |
[18180] FILE(aliases) read /home/kakadu/.opam/aliases | |
[18180] FILE(comp) read /home/kakadu/.opam/compilers/system.comp | |
[18180] FILE(repo-config) read /home/kakadu/.opam/repo/default/config | |
[18180] FILE(repo-index) read /home/kakadu/.opam/repo/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
make clone | |
make[1]: Entering directory `/media/disk/kakadu/prog/ocaml/opam' | |
make -C src_ext | |
make[2]: Entering directory `/media/disk/kakadu/prog/ocaml/opam/src_ext' | |
make[2]: Nothing to be done for `all'. | |
make[2]: Leaving directory `/media/disk/kakadu/prog/ocaml/opam/src_ext' | |
make[1]: Leaving directory `/media/disk/kakadu/prog/ocaml/opam' | |
make compile | |
make[1]: Entering directory `/media/disk/kakadu/prog/ocaml/opam' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kakadu ~/opam | |
$ ./configure | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.exe | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no | |
checking for suffix of executables... .exe | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GRANT ALL PRIVILEGES ON DATABASE traktor TO kakadu; | |
SET client_encoding = 'UTF8'; | |
drop table if exists users ; | |
create table users ( | |
id integer not null, | |
nick text not null, | |
friends int[] not null default '{}', | |
post_ids int[] not null default '{}', |
OlderNewer