Commit graph

380 commits

Author SHA1 Message Date
bcleenders
1a1904d943 Adds default for unknown commands 2014-12-29 11:02:20 +01:00
bcleenders
07167998ab Update docs
Quads must end with a dot ("."), as specified in the grammar
2014-12-29 00:12:37 +01:00
bcleenders
8efb94d2b7 Implements helper to split command from arguments
Also tests the helper function (ofc...)
2014-12-29 00:00:31 +01:00
bcleenders
1177852de7 Adds adding/removing using repl to docs 2014-12-24 01:12:20 +01:00
bcleenders
6e62d346c9 Prevents repl panic 2014-12-23 23:22:48 +01:00
dce931c33e Merge pull request #190 from barakmich/testdeps
mathutil is back in line
2014-12-19 13:44:51 -08:00
3e2c2d7ec4 mathutil is back in line 2014-12-19 13:47:30 -05:00
7369596812 Merge pull request #189 from barakmich/testdeps
temporary travis fix
2014-12-12 20:43:55 -05:00
6851834207 temporary travis fix 2014-12-12 20:41:36 -05:00
09478bfa64 Merge pull request #188 from kortschak/leveldb
Fix leveldb change skew
2014-12-12 10:40:30 -05:00
kortschak
844e811f0f Fix leveldb change skew
Make leveldb match the changes in syndtr/leveldb API due to breakages at
syndtr/goleveldb@63c9e64.
2014-12-12 08:24:38 +10:30
26ceed35cc Merge pull request #182 from barakmich/trello
Remove the news in the README, add Trello Link
2014-11-14 17:36:57 -05:00
4429714c57 Remove the news in the README, add Trello Link 2014-11-14 17:35:32 -05:00
8437520018 Merge pull request #162 from kortschak/issue160
Issue160
2014-10-15 03:30:37 -04:00
cfa2cc647a Merge pull request #167 from kortschak/issue165
Don't retain results where the value is empty
2014-09-23 20:13:37 -04:00
kortschak
e71d19c851 Don't retain results where the value is empty
Empty quad terms are not valid, so we should be able to safely drop any
results where the value is "".
2014-09-24 09:14:59 +09:30
9ae13957b3 Merge pull request #166 from kortschak/issue163
Ensure we don't examine empty token
2014-09-23 19:26:03 -04:00
kortschak
887c23e640 Ensure we don't examine empty token
Fixes issue #163.
2014-09-24 08:52:00 +09:30
kortschak
d6191ba468 Add test for issue 160 2014-09-23 09:19:51 +09:30
kortschak
5484d7eb35 Type switch on otto.Value
Ugh, this is not documented in otto. Leaving a panic for future cases
where dynamic typing will jump out at us.

Fixes issue #160.
2014-09-23 08:56:14 +09:30
6308affc69 Merge pull request #152 from kortschak/describe
Replace DebugString with a well defined type returned by Describe
2014-09-19 21:38:28 -04:00
kortschak
e2eea6c283 Convert Type fields to use graph.Type
Add text encoding methods to replace string storage.
2014-09-05 09:49:15 +09:30
kortschak
62013d3dfc Replace DebugString with Describe
This change makes tree description completely open to mechanical
analysis and ensures consistency between description formats for each of
the iterator types.

Renamed StatsContainer.(Kind -> Type) for consistency.
2014-09-05 09:32:09 +09:30
b5f113203d Merge pull request #149 from kortschak/lint-vet
Delinting, deadcode removal and vetting
2014-09-04 15:29:27 -04:00
kortschak
bf6412b55d Run go vet
Bugs found.
2014-08-28 12:22:37 +09:30
kortschak
8118c8d3cc Quieten deadcode 2014-08-28 12:04:45 +09:30
kortschak
484bf145a8 Remove non-documentation lint
Because of extensive nature of changes, tested all three non-memstore
backends - passed.
2014-08-28 11:51:39 +09:30
6614466d23 Merge pull request #148 from kortschak/renaming
Renaming triple-related entities to the quads they actually are (eg, TripleStore -> QuadStore)
2014-08-27 16:36:06 -04:00
kortschak
a22eb42482 Make hashOf a function 2014-08-27 23:25:50 +09:30
kortschak
d8866478df Add basic support for mongo testing
This is not intended to be for general consumption at this stage; it
requires that the tester has a mongod instance running and because of
the time taken to load the db, $GOROOT/src/cmd/go/test.go must be
modified to allow for tests longer than 10 minutes. A future CL may
allow db probing and the use of an existing cayley test dataset.
2014-08-27 23:01:12 +09:30
kortschak
dccf38cba6 Simplify godoc 2014-08-27 21:40:56 +09:30
kortschak
5e9da0347c Simplify method name 2014-08-27 21:40:36 +09:30
kortschak
443a091b72 Rename triple entities were relevant 2014-08-27 21:27:01 +09:30
kortschak
ddf8849e60 Remove quadfix 2014-08-27 20:39:28 +09:30
kortschak
12859a69a5 Rename triple* -> quad* files 2014-08-27 19:20:35 +09:30
1e62aaf374 Merge pull request #145 from kortschak/gremlin
Fix gremlin timeout handling
2014-08-26 11:56:57 -04:00
878a3267d6 Merge pull request #143 from kortschak/generate
Add generation support for B+tree code
2014-08-26 11:29:54 -04:00
kortschak
4345604a39 Inconsequential whitespace changes 2014-08-26 14:36:42 +09:30
kortschak
1faa8b1727 Fix build 2014-08-26 14:30:10 +09:30
kortschak
73dbfc9461 Fix worker termination handling
Fixes issue #102.
2014-08-26 14:20:37 +09:30
kortschak
62e7037f20 Remove unnecessary indirection 2014-08-26 11:19:22 +09:30
kortschak
ab685cfe04 Mark limit as unused in gremlin and SEXP
Used in SEXP. Currently there appears to be no way to limit the number
of query returns from MQL.
2014-08-26 10:17:44 +09:30
kortschak
8df21cd8d9 Refactor work out into worker type 2014-08-26 10:12:44 +09:30
kortschak
95170eb8ed Prepare gremlin for introduction of a worker type 2014-08-25 15:57:40 +09:30
kortschak
ca90da43f4 Generate cznic/b code as described in Makefile 2014-08-24 11:45:00 +09:30
kortschak
59ce5e5a58 Add generate help for memstore/b generation 2014-08-24 11:44:35 +09:30
a96f2ef6f3 Merge pull request #142 from kortschak/generate
Add go generate directive
2014-08-23 20:48:44 -04:00
kortschak
5aba71f2e7 Add go generate directive
At this stage this is just a comment for users. The directive will have
effect at go tip when go CL125580044 is submitted. When that happens, at
tip parser code generation can be acheived in the default case with:

    go generate

in the relevant package directory.
2014-08-24 10:08:53 +09:30
89a03bfe8f Merge pull request #128 from barakmich/boltdb
Add BoltDB backend
2014-08-23 18:11:28 -04:00
d0fcdf4299 Documentation and tests 2014-08-23 18:05:04 -04:00