%languagemode vhdl-mode %start goal %type %keyword ENTITY "entity" %keyword REPORT "report" %type ;;syntax "\\(\\sw\\|\\s_\\)+" %token VARIABLE %type ;;syntax "\\s\"" matchdatatype sexp %token STRING %type ;;syntax semantic-lex-number-expression %token NUMBER %type %token SEMICOLON ";" %% goal : REPORT STRING SEMICOLON (VARIABLE-TAG $2 nil nil) ; %% (define-lex vhdl-lexer "javascript thingy" ;;std stuff semantic-lex-ignore-whitespace semantic-lex-ignore-newline semantic-lex-ignore-comments ;;stuff generated from the wy file(one for each "type" declaration) wisent-vhdl-wy---regexp-analyzer wisent-vhdl-wy---sexp-analyzer wisent-vhdl-wy---keyword-analyzer wisent-vhdl-wy---regexp-analyzer wisent-vhdl-wy---string-analyzer ;;;;more std stuff semantic-lex-default-action )