hackt
hackt copied to clipboard
Hierarchical Asynchronous Circuit Kompiler Toolkit
From the `src/` directory, when bison (2.7) is run on an input like `parser/hackt-parse.yy`, it writes out `hackt-parse.cc` in the _current_ directory rather than the `parser/` subdirectory. This breaks the...
When YACC=bison (as opposed to yacc that is bison -y): ``` checking for bison... /usr/local/experimental/bin/bison clang: error: no such file or directory: 'y.tab.c' clang: error: no input files grep: y.tab.c:...
Compilation stack trace: In file included from parser/instref-parse.yy:17:0: parser/instref-parse.cc: In function 'int instref_parse(void*, YYSTYPE&, flex::lexer_state&)': ./parser/instref-prefix.h:40:17: error: declaration of 'YYSTYPE instref_lval' shadows a parameter #define yylval instref_lval
user writes: "I'm still annoyed that I have to type my input, can't it just read straight from my mind instead?" ACX-PR-2305
During make I get the following: ``` /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/home/dev/hackt/src -I/home/dev/hackt/src -pipe -ansi -pedantic-errors -Wold-style-cast -Woverloaded-virtual -W -Wextra -Wall -Wundef -Wshadow -Wno-unused-parameter -Wpointer-arith -Wcast-qual -Wcast-align...
Does not respond to ^C, must be manually killed. Ran for 540+ minutes. OS/Compiler: $uname -a Darwin 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386...
parser/hackt-parse.cc:2860:12: error: implicit conversion loses integer precision: 'int' to 'yytype_int16' (aka 'short') [-Werror,-Wconversion] *yyssp = yystate; ~ ^~~~~~~ ./parser/hackt-prefix.h:12:18: note: expanded from macro 'yystate' # define yystate hackt_state ``` ^~~~~~~~~~~...
Oddly, calling the generated lexer function causes program to hang. Built with flex 2.5.35 on x86_64-darwin11-clang-3.1. Example test, any hacprsim test, hangs on startup when parsing global "!GND". Workaround: use...
The generated flex_lexer_common.cc file gives an error with not being able to find a declaration for 'yy_int'. Manually hacking this to 'size_t' or 'unsigned int' gets it to compile. This...
On i686-apple-darwin10, there's a nasty linker bug that causes catastrophic failure in nearly all tests. The simplest place to test for this is in the src/ directory. A simple 'make...