No, Ididn't get you. What is your idea about making a program that calculates the number of isomers(including positional isomers).If you give me an idea, I think we can make a program.
This is only a suggestion for you to solve your problem. It works well with benzenes.
Attached you see a flowchart of my program.
First, you have to translate the structure into a linear code. This is important, because computers only works linearly in one dimension.
An example of a code: 310203, which is 2,4,4-trimethyl-hexane
Where the 0's is a methylene unit CH2. The 1's is a the CH(CH3) unit, the 2's is a C(CH3)2 unit. 3's are methyl.
In this algorithm there is many ways of interpreting a formula, perhaps thousands of ways. The program might start from any carbon, and translate 2,4,4-trimethyl hexane as 0107 for example, where 7 is C(CH3)2CH2CH3.
There is no doubt that this will be a challenge.
Attached you see a flowchart of my program.