Extending ByePy
with geometric types and operators
In an effort to demonstrate the broader applicability of SQL
as a compilation
target our group, over the past year, has extended our original
PL\SQL
to SQL
compiler with
Byepy
— a Python
frontend.
The currently support data types only include the very basics — integers,
float, strings, booleans, composite types, and arrays. This selection already
covers quite a few usecases, but many database system support fancier data
types like dates, 2D shapes, JSON, etc.
In this thesis we will further explore the extensibility of compilation to SQL
by extending ByePy
’s currently supported data types, functions, and operators
with PostgreSQL’s geometric offerings.