/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
parser.ml | 7 let binop_precedence:(char, int) Hashtbl.t = Hashtbl.create 10 10 let precedence c = try Hashtbl.find binop_precedence c with Not_found -> -1 16 let rec parse_primary = parser 27 let rec parse_args accumulator = parser 35 let rec parse_ident id = parser 55 let token_prec = precedence c in 64 let rhs = parse_primary stream in 67 let rhs = 71 * rhs, let the pending operator take rhs as its lhs. *) 72 let next_prec = precedence c2 i [all...] |
toplevel.ml | 8 let rec main_loop stream = 21 let e = Parser.parse_definition stream in 25 let e = Parser.parse_extern stream in 30 let e = Parser.parse_toplevel stream in
|
toy.ml | 7 let main () = 17 let stream = Lexer.lex (Stream.of_channel stdin) in
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
parser.ml | 7 let binop_precedence:(char, int) Hashtbl.t = Hashtbl.create 10 10 let precedence c = try Hashtbl.find binop_precedence c with Not_found -> -1 16 let rec parse_primary = parser 27 let rec parse_args accumulator = parser 35 let rec parse_ident id = parser 55 let token_prec = precedence c in 64 let rhs = parse_primary stream in 67 let rhs = 71 * rhs, let the pending operator take rhs as its lhs. *) 72 let next_prec = precedence c2 i [all...] |
toy.ml | 10 let main () = 22 let stream = Lexer.lex (Stream.of_channel stdin) in 25 let the_execution_engine = ExecutionEngine.create Codegen.the_module in 26 let the_fpm = PassManager.create_function Codegen.the_module in
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
block-leave.js | 39 let x = 2; 41 let x = 3; 50 let x = 4; 53 let x = 5; 63 let xx = 18; 86 let x = 'inner'; 95 let x = 'middle'; 97 let x = 'inner'; 107 let x = 'inner' + i; 116 let x = 'middle' + i [all...] |
block-let-crankshaft.js | 54 let x; 63 let x = 1; 75 let x; 90 let x; 104 let x; 115 let x = 1; 130 let x; 148 let x; 161 // let bindings are handled by the optimizing compiler. 217 TestAll('let x = x + 1') [all...] |
module-parsing.js | 45 let lx, ly 46 let lz = 1 53 let x 54 export module D { export let x } 55 let y 58 let zz = "" 62 export let y0 63 export let y1 = 0, y2 77 export let i0, i1, i2, i3; 94 let [all...] |
block-let-declaration.js | 30 // Test let declarations in various settings. 35 let x; 36 let y = 2; 41 let y; 42 let x = 3; 51 let y; 66 // Test let declarations in statement positions. 67 TestLocalThrows("if (true) let x;", SyntaxError); 68 TestLocalThrows("if (true) {} else let x;", SyntaxError); 69 TestLocalThrows("do let x; while (false)", SyntaxError) [all...] |
block-conflicts.js | 80 var letbinds = [ "let x", 81 "let x = 0", 82 "let x = undefined", 84 "let x = function() {}", 85 "let x, y", 86 "let y, x", 103 // Test conflicting let/var bindings. 113 // Test conflicting let/let bindings. 123 // Test conflicting parameter/let bindings [all...] |
iteration-syntax.js | 36 function f() { for (let x of y) { } } 46 assertThrows("function f() { for (let x of) { } }", SyntaxError); 47 assertThrows("function f() { for (let x of y z) { } }", SyntaxError); 48 assertThrows("function f() { for (let x of y;) { } }", SyntaxError); 54 assertThrows("function f() { for (let of y) { } }", SyntaxError); 55 assertThrows("function f() { for (let of of) { } }", SyntaxError); 59 assertThrows("function f() { for (let x = 3 of y) { } }", SyntaxError); 64 function f() { for (let of of y) { } } 70 function f() { for (let of in y) { } }
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
parser.ml | 7 let binop_precedence:(char, int) Hashtbl.t = Hashtbl.create 10 10 let precedence c = try Hashtbl.find binop_precedence c with Not_found -> -1 18 let rec parse_primary = parser 29 let rec parse_args accumulator = parser 37 let rec parse_ident id = parser 67 let step = 102 let token_prec = precedence c in 111 let rhs = parse_unary stream in 114 let rhs = 118 * rhs, let the pending operator take rhs as its lhs. * [all...] |
toy.ml | 10 let main () = 22 let stream = Lexer.lex (Stream.of_channel stdin) in 25 let the_execution_engine = ExecutionEngine.create Codegen.the_module in 26 let the_fpm = PassManager.create_function Codegen.the_module in
|
/external/v8/test/mjsunit/harmony/ |
block-leave.js | 39 let x = 2; 41 let x = 3; 50 let x = 4; 53 let x = 5; 63 let xx = 18; 86 let x = 'inner'; 95 let x = 'middle'; 97 let x = 'inner'; 107 let x = 'inner' + i; 116 let x = 'middle' + i [all...] |
block-let-crankshaft.js | 54 let x; 63 let x = 1; 75 let x; 90 let x; 104 let x; 115 let x = 1; 130 let x; 148 let x; 161 // let bindings are handled by the optimizing compiler. 217 TestAll('let x = x + 1') [all...] |
module-parsing.js | 45 let lx, ly 46 let lz = 1 53 let x 54 export module D { export let x } 55 let y 58 let zz = "" 62 export let y0 63 export let y1 = 0, y2 77 export let i0, i1, i2, i3; 94 let [all...] |
block-let-declaration.js | 30 // Test let declarations in various settings. 35 let x; 36 let y = 2; 41 let y; 42 let x = 3; 51 let y; 66 // Test let declarations in statement positions. 67 TestLocalThrows("if (true) let x;", SyntaxError); 68 TestLocalThrows("if (true) {} else let x;", SyntaxError); 69 TestLocalThrows("do let x; while (false)", SyntaxError) [all...] |
block-conflicts.js | 79 var letbinds = [ "let x", 80 "let x = 0", 81 "let x = undefined", 83 "let x = function() {}", 84 "let x, y", 85 "let y, x", 102 // Test conflicting let/var bindings. 112 // Test conflicting let/let bindings. 122 // Test conflicting parameter/let bindings [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
toy.ml | 5 let main () = 15 let stream = Lexer.lex (Stream.of_channel stdin) in
|
lexer.ml | 5 let rec lex = parser 11 let buffer = Buffer.create 1 in 17 let buffer = Buffer.create 1 in
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
parser.ml | 7 let binop_precedence:(char, int) Hashtbl.t = Hashtbl.create 10 10 let precedence c = try Hashtbl.find binop_precedence c with Not_found -> -1 18 let rec parse_primary = parser 29 let rec parse_args accumulator = parser 37 let rec parse_ident id = parser 67 let step = 91 let token_prec = precedence c in 100 let rhs = parse_primary stream in 103 let rhs = 107 * rhs, let the pending operator take rhs as its lhs. * [all...] |
toy.ml | 10 let main () = 22 let stream = Lexer.lex (Stream.of_channel stdin) in 25 let the_execution_engine = ExecutionEngine.create Codegen.the_module in 26 let the_fpm = PassManager.create_function Codegen.the_module in
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
toy.ml | 10 let main () = 23 let stream = Lexer.lex (Stream.of_channel stdin) in 26 let the_execution_engine = ExecutionEngine.create Codegen.the_module in 27 let the_fpm = PassManager.create_function Codegen.the_module in
|
parser.ml | 7 let binop_precedence:(char, int) Hashtbl.t = Hashtbl.create 10 10 let precedence c = try Hashtbl.find binop_precedence c with Not_found -> -1 19 let rec parse_primary = parser 30 let rec parse_args accumulator = parser 38 let rec parse_ident id = parser 68 let step = 116 let token_prec = precedence c in 125 let rhs = parse_unary stream in 128 let rhs = 132 * rhs, let the pending operator take rhs as its lhs. * [all...] |
/external/llvm/bindings/ocaml/llvm/ |
llvm.ml | 66 let c = 0 67 let fast = 8 68 let cold = 9 69 let x86_stdcall = 64 70 let x86_fastcall = 65 235 let _ = register_exns (IoError "") 343 let iter_uses f v = 344 let rec aux = function 352 let fold_left_uses f init v = 353 let rec aux init u [all...] |