// title: Baseline for Custom Lexer - a lexer spec without any errors
//
// ...
//  
// This lexer represents the MVP (Minimum Viable Product) where
// 'defining custom lexers through JISON / JISON-LEX' are concerned.
// 
// Subsequent test cases, specified in other spec files, serve to
// test various code generation and input validation / error handling
// capabilities of JISON-LEX.

%{
  // custom lexer...
  console.log('oh boy!');
  var lexer = {
    lex: function () {
      return 1;
    },
    setInput: function (s, yy) {
      console.log('setInput: ', s, yy);
    },
    options: {

    },
    ERROR: 2,
    EOF: 1, 
  };
%}
%%
%%
