@Test
public void testCompile_Value_CompilationErrors() {

  assertThrows(JBBPCompilationException.class, () -> JBBPParser.prepare("val;"));
  assertThrows(JBBPCompilationException.class, () -> JBBPParser.prepare("val:1;"));
  assertThrows(JBBPCompilationException.class, () -> JBBPParser.prepare("val:(3+5);"));
  assertThrows(JBBPCompilationException.class, () -> JBBPParser.prepare("val a;"));
  assertThrows(JBBPCompilationException.class, () -> JBBPParser.prepare("val:3 [_];"));
  assertThrows(JBBPCompilationException.class, () -> JBBPParser.prepare("val:3 [_] field;"));
}