Skip to content

Releases: GrammarSoft/cg3

Release 1.4.6

04 Aug 11:30
Compare
Choose a tag to compare
Use FindPython instead of FindPythonInterp for CMake >= 3.12.0 (fixes…

… https://bugs.debian.org/1042249); Release 1.4.6

Release 1.4.5

01 Jun 12:37
Compare
Choose a tag to compare

Changes since v1.3.9:

Notable new features:

New features:

  • Added rule flags NoMapped and NoParent which will cause the rule to skip mapped readings or cohorts with a dependency parent.
  • Cmdline flag --dep-absolute will cause dependency to be written with globally unique cohort IDs
  • Added rule flags Ignored that will make Remove hide away readings for the current grammar. See https://visl.sdu.dk/cg3/chunked/rules.html#rule-options-ignored
  • RemCohort can take Ignored to hide away whole cohorts. And Ignored WithChild to hide away whole dependency sub-trees.
  • Added rule flag LookIgnored and context modifier 'I' to allow rules and contexts to look at ignored readings.
  • Added rule type Restore to revive previously deleted/ignored readings. See https://visl.sdu.dk/cg3/chunked/rules.html#restore
  • Section headers can now have rule flags, which will then apply to all rules in that section.
  • Cmdline flag -B will inhibit and trim whitespace between/after cohorts.
  • Cmdline flag -T will delimit based on a regex of non-CG data. Defaults to /(^|\n)<s/. See also https://visl.sdu.dk/cg3/chunked/cgkeywords.html#keyword-text-delimiters
  • Environment variables CG3_DEFAULT and CG3_OVERRIDE can set and override CG-3 cmdline parameters. Ditto CG3_CONV_DEFAULT and CG3_CONV_OVERRIDE for cg-conv.
  • Added context modifier 't' to look at non-target readings, and 'T' to only look at target readings. See https://visl.sdu.dk/cg3/chunked/contexts.html#test-active
  • Added global option addcohort-attach to make all AddCohort rules automatically attach to the nearest neighbour. See https://visl.sdu.dk/cg3/chunked/grammar.html#grammar-options
  • cg-sort can now sort by weight (-w), reverse (-r), and keep only the first reading (-1).
  • cg-conv can now convert back to FST format with -F.
  • List += can append tags to an existing set.
  • New directive Undef-Sets to delete sets and allow their redefinition. Mostly used when including a common grammar that you want to make a few exceptions to.
  • Implemented window-local stream variables. See https://visl.sdu.dk/cg3/chunked/tags.html#local-variables
  • Cmdline flag --nrules and --nrules-v to filter which named rules to include in the parse.
  • Tag type line match to match the literal whole reading line. See https://visl.sdu.dk/cg3/chunked/tags.html#line-match

Changes:

  • Jump targets can now be constructed from unification and varstrings.
  • Relation queries can now be constructed from varstrings.
  • Relations now exist as tags during the run so they can be captured with regex.
  • Relation queries themselves can also be captured with regex.
  • Binary grammars should now be reproducible.
  • Baseforms may now be empty strings.
  • SetVariable/RemVariable now allow varstrings for variable names and values.
  • Stream variables can now have their values tested by equality and regex. See https://visl.sdu.dk/cg3/chunked/tags.html#global-variables
  • Lots of updates and new features to the Emacs mode by Kevin Brubeck Unhammer.
  • On Posix platforms, Include paths are now shell-expanded so tilde and environment variables can be used.
  • Codebase now requires C++17

Fixed Bugs:

  • Shorthand @< and @> will now fail if there is no previous/next window to look at.

Release 1.3.9

07 Oct 18:14
Compare
Choose a tag to compare
v1.3.9

Add cg-sort and untrace man pages

Release 1.3.7

20 Jul 12:35
Compare
Choose a tag to compare
v1.3.7

Don't hardcode Perl path; Release 1.3.7

Release 1.3.6

13 Mar 10:41
Compare
Choose a tag to compare
v1.3.6

Upgrade to actions/checkout@v2

Release 1.3.2

26 Nov 18:18
Compare
Choose a tag to compare
git-svn-id: svn+ssh://beta.visl.sdu.dk/usr/local/svn/repos/visl/tools/vislcg3/trunk@16165 cb2587b3-b7ff-0310-8c81-a2a651690ada

Release 1.3.1

30 Oct 12:37
Compare
Choose a tag to compare

Python alias. Shorthand fix.

Release 1.3.0

25 Sep 08:34
Compare
Choose a tag to compare
git-svn-id: svn+ssh://beta.visl.sdu.dk/usr/local/svn/repos/visl/tools/vislcg3/trunk@13684 cb2587b3-b7ff-0310-8c81-a2a651690ada

Release 1.1.7

04 Oct 11:02
Compare
Choose a tag to compare
git-svn-id: svn+ssh://beta.visl.sdu.dk/usr/local/svn/repos/visl/tools/vislcg3/trunk@13204 cb2587b3-b7ff-0310-8c81-a2a651690ada

v1.1.0~r12312

19 Aug 15:40
Compare
Choose a tag to compare

Release to get around issues when using latest ICU 59.1. Fixes #3.

As far as I can tell, the actual fix is in commit 53a23c1 (r12239), regarding hashing of std::basic_string<UChar>. That's the only build error I got when playing around with library and code versions, anyway.