Skip to content

Commit

Permalink
Merge branch 'tsql' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
goodmami committed Oct 5, 2018
2 parents 1c07c17 + 821f936 commit 92de929
Show file tree
Hide file tree
Showing 14 changed files with 1,455 additions and 384 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,33 @@ these changes are prefixed with "**BREAKING**"
* `delphin.util.LookaheadIterator` for parsing with arbitrary lookahead
* `delphin.commands` module to contain logic for `delphin` commands (#140)
* `tests/commands_test.py` to test invocation of commands (but not results)
* `delphin.tsql` module for TSQL queries of testsuites
* `delphin.exceptions.TSQLSyntaxError`
* `delphin.itsdb`
- `Relations.find()` returns the names of tables defining a field
- `Relations.path()` returns a path of `(table, shared_field)` tuples
describing how to get from one table to another via shared keys
- `TestSuite.write()` takes an optional `relations` parameter to write
a profile with an updated relations file (#150)
- `TestSuite.exists()` (#150)
- `TestSuite.size()` (#150)
- `Record.get()` takes a `cast` parameter; when `True`, values are cast
to the field's datatype
- `select_rows()` takes a `cast` parameter as with `Record.get()`

### Changed

* `delphin.tdl` now parses triple-quoted docstrings (#167); note that it
no longer parses the old-style docstrings
* `delphin.tdl.TdlDefinition` inherits from `delphin.tfs.FeatureStructure`
* `delphin.itsdb.TestSuite` no longer casts values by default (see note on
`Record.get()` above)
* `delphin.itsdb.TestSuite.process()` can take a `Table` as the `source`
instead of just `TestSuite`.
* **BREAKING** The `delphin` commands have all replaced the previous
method of filtering testsuites with the new TSQL queries. Applicators
are no longer available to commands. Please see `delphin <cmd> -h` for
updated usage notes. (#138, #179)

### Deprecated

Expand All @@ -65,6 +86,9 @@ these changes are prefixed with "**BREAKING**"

* **BREAKING** `delphin.tdl.TdlDefinition.comment`; replaced by
`TdlType.docstring`
* **BREAKING** `--filter` option on all commands
* **BREAKING** `--apply` option on all commands
* **BREAKING** `--join` option on the `select` command


## [v0.8.0][]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ The following packages/modules are available:

- `derivation`: [Derivation trees](http://moin.delph-in.net/ItsdbDerivations)
- `itsdb`: [incr tsdb()] profiles
- `tsql`: TSQL testsuite queries
- `mrs`: [Minimal Recursion Semantics](http://moin.delph-in.net/MrsRfc)
- `tdl`: [Type-Description Language](http://moin.delph-in.net/TdlRfc)
- `tfs`: Typed-Feature Structures
Expand Down
Loading

0 comments on commit 92de929

Please sign in to comment.