BSD Ports

textproc/ruby-syntax 1.2.2 NetBSD

Ruby lexical analysis framework

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
textproc, ruby
Package size
43.4 KiB, 110.1 KiB installed

Description

Syntax is a lexical analysis framework. It supports pluggable syntax modules, and comes with modules for Ruby, XML, and YAML. It means you can use Syntax to take a body of text representing instructions in some syntax (like Ruby), and break that text into tokens. You could conceivably use it to count the number of classes in a system, or the number of lines of code per method. But Syntax was written specifically with syntax highlighting in mind.

Install

Binary package:

pkgin install ruby33-syntax

From pkgsrc:

cd /usr/pkgsrc/textproc/ruby-syntax && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.2.2
NetBSD 10.1 aarch641.2.2
SmartOS / illumos x86_641.2.2
macOS 15 arm641.2.2

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-syntax-1.2.2, ruby40-syntax-1.2.2