Skip to content

Commit

Permalink
devel/rubygem-syntax_tree: Add rubygem-syntax_tree 6.1.1
Browse files Browse the repository at this point in the history
Syntax Tree is a suite of tools built on top of the internal CRuby parser. It
provides the ability to generate a syntax tree from source, as well as the tools
necessary to inspect and manipulate that syntax tree. It can be used to build
formatters, linters, language servers, and more.

It is built with only standard library dependencies. It additionally ships with
a plugin system so that you can build your own syntax trees from other languages
and incorporate these tools.
  • Loading branch information
sunpoet committed Aug 21, 2023
1 parent 72a397d commit 34a7eb1
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -7401,6 +7401,7 @@
SUBDIR += rubygem-swagger-blocks
SUBDIR += rubygem-sync
SUBDIR += rubygem-syntax_suggest
SUBDIR += rubygem-syntax_tree
SUBDIR += rubygem-sysinfo
SUBDIR += rubygem-syslog
SUBDIR += rubygem-systemu
Expand Down
23 changes: 23 additions & 0 deletions devel/rubygem-syntax_tree/Makefile
@@ -0,0 +1,23 @@
PORTNAME= syntax_tree
PORTVERSION= 6.1.1
CATEGORIES= devel rubygems
MASTER_SITES= RG

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Parser based on ripper
WWW= https://ruby-syntax-tree.github.io/syntax_tree/ \
https://github.com/ruby-syntax-tree/syntax_tree

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= rubygem-prettier_print>=1.2.0:devel/rubygem-prettier_print

USES= gem

NO_ARCH= yes

PLIST_FILES= bin/stree \
bin/yarv

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/rubygem-syntax_tree/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1692211629
SHA256 (rubygem/syntax_tree-6.1.1.gem) = eb03ff60f51ac29af5cf4fe39bc06e6714cd5b8b3f91cbec2a61e0b8602f5598
SIZE (rubygem/syntax_tree-6.1.1.gem) = 218112
8 changes: 8 additions & 0 deletions devel/rubygem-syntax_tree/pkg-descr
@@ -0,0 +1,8 @@
Syntax Tree is a suite of tools built on top of the internal CRuby parser. It
provides the ability to generate a syntax tree from source, as well as the tools
necessary to inspect and manipulate that syntax tree. It can be used to build
formatters, linters, language servers, and more.

It is built with only standard library dependencies. It additionally ships with
a plugin system so that you can build your own syntax trees from other languages
and incorporate these tools.

0 comments on commit 34a7eb1

Please sign in to comment.