From nobody Wed Feb 21 15:17:41 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tg0JQ6X8Tz59ddV; Wed, 21 Feb 2024 15:17:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tg0JP1nBnz4v8J; Wed, 21 Feb 2024 15:17:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2u9kxHoTKjRM9Z+TKhLcahe2jhYWZ2lk6xz9y5EPQtU=; b=IjKu12kOty54P9cpJ40sYyqhgqZ6chmmX3/dIwyMkUgwhUMz/kBrwT3GEYrVWsHE5+W71p eSjL6R+ZM0l+xVldZw9YYrnQX6sHh5QqZsrwNYLQQb82lvxW+HU98g6o3aCaOfsxnFNRGa 5yEHeJUdQjWxuMEgk//rHFq8T3kUnLRFWX/C63KlFRhJe4s/kbOceWBBNHPlJ7U8bUpRci gouCaZqlVqlTiYXrYDw2xcPDH8tF8GcgDjrSzNHIkg5y9vR5lQTF6ypgaIDLszySKm+m0r OlRWpLM/iX3jsWA6CgjFzOOvGnOpoHP6/TkJCcQEg2uJaHsztHI4umEMTFdoqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2u9kxHoTKjRM9Z+TKhLcahe2jhYWZ2lk6xz9y5EPQtU=; b=t0+bIHTJWeUbNfIv/6vI8cLXoRgmKWmIas1sR/CnWlUNN24Ufomhrtbkq9tW6dmfc19XJu PZ8KAxQt/4GRX+3t8I+Wm0+oWhAqiIbEUk1aBw32TJuJxCoN0EI4aqNVbbnNRkQ1R3C9rN YSZSLC54+65jdqp/k/TgrplLa3FEBLcEokg090xzyGKQSRJjAoTLamrbUHU9iPB88kljlv Rbob7lZw18Rd52cjz+ILxHi3qDnI7RMeLJjNKsyua3IimDDuWUZnqM5RtHAYQZ1iabsE/v MmlyET+5cb5GTdUPsnmNEctQlb+g+MBWUuE35KtHeIt3SNV7Ex2rOlnbalYojQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528661; a=rsa-sha256; cv=none; b=p8/Wtp5gkjFdJK2qs3n4NitMKMIR/KfCV8sJHY/IjUWNW4HtAFH3KfaSEVplxZgs+hwX4G HJKp48sUArpBXRhsyOI175BBuSjpN4vMZEJjuDj8/IKyQXAcAh6nKtjuGn/xkcTbeQhFaU Y7eJut2mHZwhKloyDV/025P6syHlmfD2+wOrRGbnW+j9mC6Z3P9s0n6qrrXJxaoV3pbnyE 2DfHkK3NCMcCOcuBbBTvir1tXpB/oP7rlTNkziuDULrxYh9vtA41VAchVju/ZpwyuEwZtb qcltMU1T8SQA9ipCtY9C3O/MSvUotfdeZV9E9AfKRJWDv2oCvI3sFwd9U9l9ew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tg0JP0v04z16kQ; Wed, 21 Feb 2024 15:17:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41LFHfNT013181; Wed, 21 Feb 2024 15:17:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFHfxk013178; Wed, 21 Feb 2024 15:17:41 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:41 GMT Message-Id: <202402211517.41LFHfxk013178@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 3692fcde653f - main - devel/rubygem-lrama: Add rubygem-lrama 0.6.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3692fcde653ffcecbaefeb54ad3d2f00ac5c2aad Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3692fcde653ffcecbaefeb54ad3d2f00ac5c2aad commit 3692fcde653ffcecbaefeb54ad3d2f00ac5c2aad Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:13:55 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:13 +0000 devel/rubygem-lrama: Add rubygem-lrama 0.6.0 Lrama is LALR (1) parser generator written by Ruby. The first goal of this project is providing error tolerant parser for CRuby with minimal changes on CRuby parse.y file. Features: - Bison style grammar file is supported with some assumptions - b4_locations_if is always true - b4_pure_if is always true - b4_pull_if is always false - b4_lac_if is always false - Error Tolerance parser - Subset of Repairing Syntax Errors in LR Parsers (Corchuelo et al.) algorithm is supported. --- devel/Makefile | 1 + devel/rubygem-lrama/Makefile | 20 ++++++++++++++++++++ devel/rubygem-lrama/distinfo | 3 +++ devel/rubygem-lrama/pkg-descr | 13 +++++++++++++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9fe103c578f6..d1ad8dffbf43 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7125,6 +7125,7 @@ SUBDIR += rubygem-logging SUBDIR += rubygem-logster SUBDIR += rubygem-loquacious + SUBDIR += rubygem-lrama SUBDIR += rubygem-lru_redux SUBDIR += rubygem-lumberjack SUBDIR += rubygem-main diff --git a/devel/rubygem-lrama/Makefile b/devel/rubygem-lrama/Makefile new file mode 100644 index 000000000000..5fd8c85e563f --- /dev/null +++ b/devel/rubygem-lrama/Makefile @@ -0,0 +1,20 @@ +PORTNAME= lrama +PORTVERSION= 0.6.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= LALR (1) parser generator written by Ruby +WWW= https://github.com/ruby/lrama + +LICENSE= GPLv3+ MIT +LICENSE_COMB= multi +LICENSE_FILE_MIT= ${WRKSRC}/MIT + +USES= gem + +NO_ARCH= yes + +PLIST_FILES= bin/lrama + +.include diff --git a/devel/rubygem-lrama/distinfo b/devel/rubygem-lrama/distinfo new file mode 100644 index 000000000000..269897bc1af9 --- /dev/null +++ b/devel/rubygem-lrama/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448870 +SHA256 (rubygem/lrama-0.6.0.gem) = fb8a4580d70d94e737b6825ef16fbc4ab3654e9300858cc81974df73bb54ecba +SIZE (rubygem/lrama-0.6.0.gem) = 81408 diff --git a/devel/rubygem-lrama/pkg-descr b/devel/rubygem-lrama/pkg-descr new file mode 100644 index 000000000000..6a7ffb4fe1d2 --- /dev/null +++ b/devel/rubygem-lrama/pkg-descr @@ -0,0 +1,13 @@ +Lrama is LALR (1) parser generator written by Ruby. The first goal of this +project is providing error tolerant parser for CRuby with minimal changes on +CRuby parse.y file. + +Features: +- Bison style grammar file is supported with some assumptions + - b4_locations_if is always true + - b4_pure_if is always true + - b4_pull_if is always false + - b4_lac_if is always false +- Error Tolerance parser + - Subset of Repairing Syntax Errors in LR Parsers (Corchuelo et al.) algorithm + is supported.