Skip to content

Commit

Permalink
bye
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun FURUSE committed Nov 30, 2016
1 parent f7d8a1f commit c19270c
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
11 changes: 11 additions & 0 deletions intmarshal.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
open Printf

let () =
let x = max_int in
printf "max_int=%d\n%!" x;
let s = Marshal.from_string (Marshal.to_string x []) 0 in
printf "max_int=%d\n%!" s




35 changes: 35 additions & 0 deletions menhir/x.conflicts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

** Conflict (shift/reduce/reduce) in state 1.
** Tokens involved: WORD #
** The following explanations concentrate on token WORD.
** This state is reached from statement after reading:

START

** The derivations that appear below have the following common factor:
** (The question mark symbol (?) represents the spot where the derivations begin to differ.)

statement
START sequence
(?)

** In state 1, looking ahead at WORD, reducing production
** maybeword ->
** is permitted because of the following sub-derivation:

sequence WORD // lookahead token appears
maybeword // lookahead token is inherited
.

** In state 1, looking ahead at WORD, shifting is permitted
** because of the following sub-derivation:

maybeword
. WORD

** In state 1, looking ahead at WORD, reducing production
** sequence ->
** is permitted because of the following sub-derivation:

sequence WORD // lookahead token appears
.
8 changes: 8 additions & 0 deletions menhir/x.mli
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
exception Error

type token =
| WORD
| START


val statement: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (int)
7 changes: 7 additions & 0 deletions mingw-mystery.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

X=`ocamlfind query unix`
echo X="$X"
Y="-I $X hello"
echo Y=$Y
ocaml $Y

0 comments on commit c19270c

Please sign in to comment.