top | item 36442466 (no title) RedCrowbar | 2 years ago Yes, although rewrites are fairly minimal. Mostly limited to name mangling. discuss order hn newest gavinray|2 years ago That's really cool.Any chance you'd be able to link the relevant parts of the code?I had a look through the "/pg" directory but there was a lot there and it wasn't immediately clear which parts did what RedCrowbar|2 years ago The whole thing consists of these main parts:1. SQL parser: https://github.com/edgedb/edgedb/tree/master/edb/pgsql/parse... 2. SQL transpiler: https://github.com/edgedb/edgedb/tree/master/edb/pgsql/parse... 3. Wire protocol handler: https://github.com/edgedb/edgedb/blob/master/edb/server/prot... load replies (1) aerzen|2 years ago This is the beef of that compiler: https://github.com/edgedb/edgedb/tree/master/edb%2Fpgsql%2Fr...
gavinray|2 years ago That's really cool.Any chance you'd be able to link the relevant parts of the code?I had a look through the "/pg" directory but there was a lot there and it wasn't immediately clear which parts did what RedCrowbar|2 years ago The whole thing consists of these main parts:1. SQL parser: https://github.com/edgedb/edgedb/tree/master/edb/pgsql/parse... 2. SQL transpiler: https://github.com/edgedb/edgedb/tree/master/edb/pgsql/parse... 3. Wire protocol handler: https://github.com/edgedb/edgedb/blob/master/edb/server/prot... load replies (1) aerzen|2 years ago This is the beef of that compiler: https://github.com/edgedb/edgedb/tree/master/edb%2Fpgsql%2Fr...
RedCrowbar|2 years ago The whole thing consists of these main parts:1. SQL parser: https://github.com/edgedb/edgedb/tree/master/edb/pgsql/parse... 2. SQL transpiler: https://github.com/edgedb/edgedb/tree/master/edb/pgsql/parse... 3. Wire protocol handler: https://github.com/edgedb/edgedb/blob/master/edb/server/prot... load replies (1)
aerzen|2 years ago This is the beef of that compiler: https://github.com/edgedb/edgedb/tree/master/edb%2Fpgsql%2Fr...
gavinray|2 years ago
Any chance you'd be able to link the relevant parts of the code?
I had a look through the "/pg" directory but there was a lot there and it wasn't immediately clear which parts did what
RedCrowbar|2 years ago
1. SQL parser: https://github.com/edgedb/edgedb/tree/master/edb/pgsql/parse... 2. SQL transpiler: https://github.com/edgedb/edgedb/tree/master/edb/pgsql/parse... 3. Wire protocol handler: https://github.com/edgedb/edgedb/blob/master/edb/server/prot...
aerzen|2 years ago