cb6eb30182
This fixes a bug that has been annoying me minorly for some time now: sometimes, after parse errors, a subsequent parser run would fail. The reason is that yylex() modifies some global variables (yytext, yydata) during its run to keep state. To make subsequent parser runs correct, these have to be reset before each run. Also, close files after reading them. |
||
---|---|---|
api | ||
coding | ||
config | ||
model | ||
retrieval | ||
rules | ||
storage | ||
utility | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTORS.md | ||
LICENSE | ||
Makefile | ||
Makefile.TRAVIS | ||
README.md | ||
main.go |
README.md
Prometheus
Bedecke deinen Himmel, Zeus! A new kid is in town.
Prerequisites
- Go 1.0.X.
- LevelDB: (https://code.google.com/p/leveldb/).
- Protocol Buffers Compiler: (http://code.google.com/p/protobuf/).
- goprotobuf: the code generator and runtime library: (http://code.google.com/p/goprotobuf/).
- Levigo, a Go-wrapper around LevelDB's C library: (https://github.com/jmhodges/levigo).
Initial Hurdles
- A bit of this grew organically without an easy way of binding it all together. The tests will pass but slowly. They were not optimized for speed but end-to-end coverage of the whole storage model. This is something immediate to fix.
- Protocol Buffer generator for Go changed emitted output API. This will need to be fixed before other contributors can participate.
Milestones
- In-memory archive, basic rule language, simple computation engine, and naive exposition system.
License
Apache License 2.0