Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wP851-000TBR-39 for pgsql-hackers@arkaria.postgresql.org; Tue, 19 May 2026 00:13:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wP84y-003YFV-37 for pgsql-hackers@arkaria.postgresql.org; Tue, 19 May 2026 00:13:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wP84y-003YFM-0O for pgsql-hackers@lists.postgresql.org; Tue, 19 May 2026 00:13:01 +0000 Received: from fout-b3-smtp.messagingengine.com ([202.12.124.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wP84v-00000000HEa-2e9s for pgsql-hackers@lists.postgresql.org; Tue, 19 May 2026 00:13:00 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 6B2451D000CC for ; Mon, 18 May 2026 20:12:54 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-02.internal (MEProxy); Mon, 18 May 2026 20:12:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burd.me; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1779149574; x=1779235974; bh=4rbNyuvi0g 0+0SoJ16z/Zjl65tT2Q7y+gnd2IUP6yPo=; b=xmfmwkZDWHfqGfVQTfxT/lu8Ue 0RbtwHcxid2p3V14XWwFx9bUqvH2/EJ6e9hODDrA6wwmlBdjhdGliSjliyY5tAB+ ZQ2UDhKeydIUVXCNG9ma+5nphko3Yv2FC/Bc+Fpkp0VcRuvlNn9X+GUf/sXZ9R3t Wl8VVQQfDAEyS3rcCGgxUiVos4DLa4NHZpDiOsK3fAH8N7MawOgTdpIdnqIMHKMk c9oDlUSq4YSL/fHahcEhRfkV+iSP0zXTdAFH8KSpbA9FrOxgW6nfnA8uLFyvCUaR AZx87Sq9cvoc+HtpvZKm+JMbx7G/YkAK9ufYBYCsGk1gaPNcjWICgn/DpmKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1779149574; x=1779235974; bh=4rbNyuvi0g0+0SoJ16z/Zjl65tT2Q7y+gnd 2IUP6yPo=; b=eZHyQxlQtwCOD+HWES1mKsqXCqs4kM+UAWuaytvuQGB/m8i+ue7 jFT3NOaLspTKWQD7wSCoChTd9J/v+YRFs+DOK6t7XPndSlwFmHrujFMt6/TaO6CK W1IYKzF2L/GmlfwbwfuVROmCq5d4fLqU3I6HhVdqEt2NWQjX83JMozyvCnF+NDz2 TmHoV7Y37KdF2VMi/H4OK8ye3oc5xtgk1/ghOCCYOAt7OmFFmCQtthapAf8uNZmQ a5sZb17Yfb6akEpqnKx67NCc51C/Z/8dawIYzKC+65UwwFLArSkFGDI69bvZc36l Kyrjnv/3f6s6nOMfxQYrF5KN4WjQQASnOVw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddugedtvdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvffkjghfufgtsegrtderreertddtnecuhfhrohhmpedfifhrvghguceu uhhrugdfuceoghhrvghgsegsuhhrugdrmhgvqeenucggtffrrghtthgvrhhnpefgheejle eggefhudffvddtfffhgfehheevfeevtdejudduteehjeehgfekleeltdenucffohhmrghi nhepughutghkuggsrdhorhhgpdgtohguvggsvghrghdrohhrghdpghhithhhuhgsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhr vghgsegsuhhrugdrmhgvpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuth dprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgv shhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i675e48f3:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 7933F700069; Mon, 18 May 2026 20:12:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: AmL68lUfnCFs Date: Mon, 18 May 2026 20:12:33 -0400 From: "Greg Burd" To: "PostgreSQL Hackers" Message-Id: In-Reply-To: References: Subject: Re: duckdb has extensible parser Content-Type: multipart/alternative; boundary=ffbfc2eaa928fe2ae329d00f3decf8cf94e1e145 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ffbfc2eaa928fe2ae329d00f3decf8cf94e1e145 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, May 13, 2026, at 9:25 AM, Pavel Stehule wrote: > Hi > > today I found an article about preparing a new parser for duckdb. > > I remember here was a discussion about it, so this can be an idea on how to do it. > > https://duckdb.org/2024/11/22/runtime-extensible-parsers I've been working on Lime https://codeberg.org/gregburd/lime and a replacement of flex and bison in Postgres using Lime https://github.com/gburd/postgres/tree/lime which isn't yet stable or ready but the intention is/was to use a new parser that has the ability to be extended (changed) at runtime so that our extension authors can do some more interesting tricks. Not a finished branch, but something to talk about for sure. > Regards > > Pavel best. -greg --ffbfc2eaa928fe2ae329d00f3decf8cf94e1e145 Content-Type: text/html Content-Transfer-Encoding: quoted-printable


On Wed, May 13, 2026, at 9:25 AM, Pavel Stehule wrote:=
Hi 

today I found an article about prep= aring a new parser for duckdb.

I remember here = was a discussion about it, so this can be an idea on how to do it.
=

I've been working on Lime https://codeberg.org/gregburd/lime and a replacement of flex and bison in Postgres using Lime https://github.com/gb= urd/postgres/tree/lime which isn't yet stable or ready but the = intention is/was to use a new parser that has the ability to be extended= (changed) at runtime so that our extension authors can do some more int= eresting tricks.

Not a finished branch, but som= ething to talk about for sure.

Regards

Pavel

best.

-greg
--ffbfc2eaa928fe2ae329d00f3decf8cf94e1e145--