Skip to content
Snippets Groups Projects
Select Git revision
  • 22dc27b9fa46b20aca4f5982979681a858a97284
  • master default protected
  • android-7.1.2_r28_klist
  • oreo-mr1-iot-release
  • sdk-release
  • pie-cts-dev
  • pie-cts-release
  • pie-vts-release
  • nougat-iot-release
  • pie-gsi
  • pie-platform-release
  • pie-r2-release
  • pie-r2-s1-release
  • pie-release
  • pie-dev
  • oreo-m4-s4-release
  • o-mr1-iot-preview-8
  • oreo-m2-s2-release
  • oreo-m2-s1-release
  • oreo-m6-s2-release
  • oreo-m6-s3-release
  • android-o-mr1-iot-release-1.0.4
  • android-9.0.0_r8
  • android-9.0.0_r7
  • android-9.0.0_r6
  • android-9.0.0_r5
  • android-8.1.0_r46
  • android-8.1.0_r45
  • android-n-iot-release-smart-display-r2
  • android-vts-8.1_r5
  • android-cts-8.1_r8
  • android-cts-8.0_r12
  • android-cts-7.1_r20
  • android-cts-7.0_r24
  • android-cts-6.0_r31
  • android-o-mr1-iot-release-1.0.3
  • android-cts-9.0_r1
  • android-8.1.0_r43
  • android-8.1.0_r42
  • android-n-iot-release-smart-display
  • android-p-preview-5
41 results

libprocinfo

  • Clone with SSH
  • Clone with HTTPS
  • Ruby-Implementation of a Dhall-like Language

    If you want to use Dhall in production and do not use ruby, use the official haskell version linked below.

    See ./tests for an example of dhallish-code that should work. .dhall-files show code that evaluates equally in dhall and dhallish. Code samples in ./tests/test.rb might be dhallish-specific. See ./bin/dhallish or ./tests/test_dhallish_ctx.rb for an example on how to use the Dhallish module.

    Read the docs!

    # run tests using:
    ruby ./tests/test.rb
    
    # use dhall as a command line tool:
    ./bin/dhallish --help
    ./bin/dhallish <<< "1 + 2"
    
    # examples and usage:
    cat ./tests/examples.dhallish
    ./bin/dhallish --help
    ./bin/dhallish < texts/examples.dhallish

    Changes to dhall-lang:

    • More Operators: <, >, <=, >=, -, /
    • == and != do work on Numbers (Naturals, Integers and Doubles)
    • It is possible to get an Optional from an union

    Missing Features:

    • ''strings that start with two quotes''
    • Kind and Sort (What are those?)
    • missing and integrity-hashes for imports
    • merge for empty Unions

    Known Bugs:

    • There is a bug in our unification or substitution that only appears in rare cases when the same name for a generic type is used multiple times.