MiniZinc grammar for tree-sitter
at develop 56 lines 567 B view raw
1========== 2Empty File 3========== 4 5--- 6 7(source_file) 8 9================== 10End with semicolon 11================== 12 13a = b; 14 15--- 16 17(source_file 18 (assignment (identifier) (identifier))) 19 20===================== 21End without semicolon 22===================== 23 24a = b 25 26--- 27 28(source_file 29 (assignment (identifier) (identifier))) 30 31============== 32Block comments 33============== 34 35/* 36 * Block comments 37 */ 38 39/* Comment with asterisks **/ 40 41---- 42 43(source_file 44 (block_comment) 45 (block_comment)) 46 47============= 48Line comments 49============= 50 51% Comment 52 53---- 54 55(source_file 56 (line_comment))