Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

proparse-ikvm

IKVM'ized version of Proparse

How to use from PowerShell

[Reflection.Assembly]::LoadFile("C:\Users\xxx\path\to\IKVM.OpenJDK.Core.dll")
[Reflection.Assembly]::LoadFile("C:\Users\xxx\path\to\IKVM.OpenJDK.Util.dll")
[Reflection.Assembly]::LoadFile("C:\Users\xxx\path\to\IKVM.OpenJDK.Text.dll")
[Reflection.Assembly]::LoadFile("C:\Users\xxx\path\to\IKVM.Runtime.dll")
[Reflection.Assembly]::LoadFile("C:\Users\xxx\path\to\proparse-net-1.0.1-SNAPSHOT.dll")

$pscSettings = new-object org.prorefactor.refactor.settings.ProgressSettings
$ppSettings = new-object org.prorefactor.refactor.settings.ProparseSettings
$schema = new-object org.prorefactor.core.schema.Schema("path/to/db.schema")
$session = new-object org.prorefactor.refactor.RefactorSession($pscSettings, $ppSettings, $schema)

$unit = new-object org.prorefactor.treeparser.ParseUnit("path/to/procedure.p", $session)
$unit.treeParser01()
$unit.getTopNode().toStringFullText()

How to use from ABL

Left as an exercise to the reader. Please note that the "legacy" API won't probably work correctly due to numerous API changes.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors