Commit Graph

11 Commits

Author SHA1 Message Date
Peter J. Holzer 0f3cd9be19 Add metadata 2022-02-26 11:09:35 +01:00
Peter J. Holzer a03a1e96d3 Move entry point to __init__.py
I couldn't find a way to include scripts but pip can automatically
create them from entry-points.
2022-02-26 10:49:24 +01:00
Peter J. Holzer 6ebb397a86 Create basic package structure 2022-02-25 16:54:21 +01:00
Peter J. Holzer dfc1e8bf8b Implement MVP of DSL
I implemented the parser manually since I couldn't get pypeg2 to emit
useful error messages (I confess to be a bit proud of my multi-level
color-coded reporting).

The DSL isn't complete yet. Explicit dependencies and nested rules are
still missing, as are most column types. But it's enough to create and
populate some tables from a real-world project, so I consider it to have
reached to MVP stage.
2022-02-25 16:21:07 +01:00
Peter J. Holzer 1f5ba40027 Add some service types to demo 2022-02-25 16:19:41 +01:00
Peter J. Holzer 7a4912d8f1 Merge branch 'master' of git.hjp.at:hjp/procrusql 2022-02-03 16:37:06 +01:00
Peter J. Holzer dcd711f0e8 Dump dependencies as dot file 2022-02-03 16:36:16 +01:00
Peter J. Holzer 74a45e7190 Complete demo 2022-02-03 16:31:10 +01:00
Peter J. Holzer 7a54ab7710 Add note about data changes 2022-02-02 14:41:05 +01:00
Peter J. Holzer f17f07537e Implement PoC
The prototype can create tables and their columns and insert data,
including data from existing tables. This is sufficient for a small demo
from a real-world project.

The demo uses all of the above capabilities. It also deliberately
includes rules in arbitrary order to demonstrate dependency resolution.

We don't have a DSL yet, so all the nodes/rules/requirements (need to
decide on a catchy name) are instantiated directly in the source code
by calling their constructors. This is overly verbose but gives a first
impression on what a ruleset might look like.
2022-01-29 11:56:10 +01:00
Peter J. Holzer 95985203f6 Note some ideas 2022-01-28 12:49:22 +01:00