...
The only tricky aspect turned out to be support for the more complex DDL needed by Oracle. The sample parsing code assumed ";" as a SQL statement delimiter, which doesn't work for embedded PL/SQL. I added primitive support for Oracle's "SET SQLTERMINATOR" statement to work around that.
...