Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - StH

Pages: [1]
1
Automation Interface, Add-Ins and Tools / EA16, Call to OpenFile2()
« on: January 21, 2023, 02:26:33 am »
Hi Community, I have a problem using a tool with access to the new database format qea.
First things first: I have written a tool, that allows access to EA databases by a command line. This tool uses the EA-SDK-function OpenFile2() to open a database or a eap-file, what worked fine up to now.
Now we plan to migrate to EA16 to take advantage of the 64 bit usage. So, we installed (luckily only a test-installation) EA16 and I converted an eap-file to a qea-file with the built-in converter-tool. So far so good. Opening the file by EA works with no problems.
But if I try to start my cmdline-Tool, I face the problem, that I get the following message:
"An Error has occured: Unrecognized database format '%file%. To enable Jet 4, go to Start | Preferences | Use JET4.0, restart EA"
but the new database is no JET-format as far as I understood, it is a MySQL database format, i think. Do you have any suggestions what I can do for resolving this issue?
Best regards and thanks in advance

2
Automation Interface, Add-Ins and Tools / Parsing AST
« on: November 20, 2015, 03:00:34 am »
Hello,

I'm very new to the forum, so please be patient with me  ;)
I've got a question for working with the abstract syntax tree. I managed to build a tree from a special kind of source code. But the difficulty is, that the syntax of the read source allows tiled objects.
Let's say, I built a node named A with 3 parameters.
Later in the file the node A is allowed to be referenced again and 2 additional parameter have to be added.
During building the grammar I wasn't be aware of this fact.
So my syntax tree now has 2 nodes with the same name, the first contains the first 3 parameters, the second one the both of the file later.
My question is, is there a mechanism foreseen for "optimizing" the AST after building?

Thanks in advance for your help
And please excuse my bad english ... I hope I managed to articulate my problem clearly.

Best regards
Stephan

Pages: [1]