Permalink
Commits on Jun 26, 2017
  1. Add support for a more modern windows cross-compiled build

    It is based on https://github.com/whitequark/opam-cross-windows and recent
    ocamlfind -toolchain option
    committed Jun 26, 2017
Commits on Apr 27, 2017
  1. Add initial implementation of python-flavored Piq

    It allows to embed Piq in Python programs using Python-Piq hybrid syntax and
    fully reusing Python terms (and expressions) for Piq literals, e.g.:
    
    def f():
        return (.a 10)
    
    piq_node = .foo [
      .bar-baz [1, 2],
      "foo",
      f()
    ]
    committed Apr 27, 2017
Commits on Mar 5, 2017
  1. Add experimental support for serializing Piq AST

    "piqi convert" and "piqi pp" now can read and write serialized Piq AST,
    specified via -f and -t parameters as piq.{piq,json,pb,xml}
    
    serialized Piq AST (piq.piqi) can include source location information, i.e.
    (file, line, column)
    
    This can be useful for generating and consuming Piq ASTs from for Piq-based
    DSLs.
    committed Mar 5, 2017
Commits on Feb 26, 2017
  1. piq: support optional ,-terminators for list elements

    - optional commas make Piq more readable
    - now this becomes possible:
    
        [ .foo, "bar" ]
    
        whereas before, we'd have to use
    
        [ (.foo) "bar" ]
    
        or reorder elements (which is not always possible):
    
        [ "bar" .foo ]
    committed Feb 26, 2017
  2. piq: replace lisp-style name expansion syntax with infix notation

    (<name> ...) -> <name>* [ ... ]
    committed Feb 26, 2017
Commits on Feb 25, 2017
  1. Stricter lexical model for Piq

    Restrict Piq words to alphanumeric ASCII plus a couple of extra characters:
    [_-./]
    
    This is an obvious cleanup and a necessary step for new Piq syntax features for
    Piq.
    committed Feb 25, 2017
Commits on Feb 24, 2017
  1. Add a new .piq-allow-unnesting record-level flag

    by default, all record fields must be placed/nested under a [ ... ] block
    
    adding this flag allows to omit nesting for a singular scalar or labeled field,
    under a labeled record. For example:
    
        .foo [ 10 ]       <->  .foo 10
        .foo [ .bar ]     <->  .foo.bar
        .foo [ .bar 10 ]  <->  .foo.bar 10
    committed Feb 24, 2017
  2. Add the ability to represent untyped Piq under piqi-any type

    This enables opaque interpretation of Piq subtrees upon converting Piq to
    Json/Protobuf. Helpful for various DSL-related use cases.
    committed Feb 24, 2017
Commits on Feb 23, 2017
Commits on Jun 4, 2016
Commits on Jun 2, 2016
  1. Update opam file

    committed Jun 2, 2016
Commits on Jun 1, 2016
  1. piqi-0.6.13 release

    committed Jun 1, 2016
Commits on May 31, 2016
  1. More travis-ci tweaks

    committed May 31, 2016
Commits on May 30, 2016
Commits on Jun 29, 2015
Commits on Jun 28, 2015
Commits on Apr 5, 2015
  1. Add "make test" goal

    committed Apr 5, 2015
Commits on Mar 23, 2015
  1. Enable creation of dllpiqilib_stubs.so as a part of piqilib bytecode …

    …build (#49)
    
    It turned out this is necessary for OCaml toplevel and utop to work with
    piqilib/piqirun.ext
    committed Mar 23, 2015
Commits on Mar 13, 2015
  1. piqi-0.6.12 release

    committed Mar 13, 2015
Commits on Jan 25, 2015
  1. Fix compilation warnings for OCaml >= 4.02

    The warnings were related to the newly introduced bytes type.
    committed Jan 25, 2015
  2. piqi-0.6.11 release

    committed Jan 25, 2015
  3. Update piqi(1) manpage

    committed Jan 25, 2015
Commits on Jan 24, 2015
  1. Fix "piqi server" on Windows

    Also:
    
    - add more robust handling of server termination
    - extra logging
    committed Jan 24, 2015
  2. Fix build with ocaml >= 4.02 and ocamlfind < 1.5

    Older ocamlfind doesn't provide the bytes package. In this case we provide a
    dummy bytes package ourselves just to satisfy build dependency.
    
    While this combination of ocaml and ocamlfind version shouldn't be common, the
    current version of windows cross-compililation repository has exactly that.
    committed Jan 24, 2015