BSD Ports

lang/crystal 1.5.1 DragonFly

Language with Ruby-like syntax and static type checking

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
lang
Package size
5827.7 KiB, 120164.4 KiB installed

Description

Crystal is a programming language with the following goals:

  • Have a syntax similar to Ruby (but compatibility with it is not a goal)
  • Be statically type-checked, but without having to specify the type of variables or method arguments.
  • Be able to call C code by writing bindings to it in Crystal.
  • Have compile-time evaluation and generation of code, to avoid boilerplate code.
  • Compile to efficient native code.

In the other systems

SystemPortVersion
DragonFlylang/crystal1.5.1
FreeBSDlang/crystal1.21.1
OpenBSDlang/crystal1.21.0
NetBSDwip/crystal0.35.0
HardenedBSDlang/crystal1.21.0
GhostBSDlang/crystal1.21.0

Install

Binary package:

pkg install crystal

From DPorts:

cd /usr/dports/lang/crystal && make install clean

Dependencies

Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Install textproc/libyaml for YAML support, math/gmp for BigInt support,
textproc/libxml2 for XML support.