Project

Profile

Help

Feature #5834

open

Gizmo working with SaxonC

Added by O'Neil Delpratt almost 2 years ago. Updated about 1 year ago.

Status:
AwaitingInfo
Priority:
Low
Category:
C++ API
Start date:
2023-01-18
Due date:
% Done:

80%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.0
Fixed in version:
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

It would be good to get the SaxonJ tool Gizmo working under SaxonC. This would probably be as a command-line tool.

Actions #1

Updated by O'Neil Delpratt almost 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80

I have added the Gizmo tool to SaxonC as a C command line application. This works in the same way as documented here: https://www.saxonica.com/documentation12/index.html#!gizmo

We now need to update the SaxonC documentation to mention Gizmo support in 12.1

Actions #2

Updated by O'Neil Delpratt almost 2 years ago

  • Assignee changed from O'Neil Delpratt to Debbie Lockett
Actions #3

Updated by O'Neil Delpratt over 1 year ago

We have had problems getting the interactive part of Gizmo working with SaxonC. This is because JLine2 does is not completely compatible with Graalvm:

Interactive options do not work in conjunction with JLine 2’s ConsoleReader. Either implement a IParameterConsumer which uses JLine2’s ConsoleReader directly or use picocli-shell-jline3.

I have had to remove the Gizmo project from SaxonC build script for now because it is currently crashing the Graalvm build under windows.

Actions #4

Updated by O'Neil Delpratt over 1 year ago

  • Status changed from In Progress to AwaitingInfo
Actions #5

Updated by Martin Honnen over 1 year ago

What is the supposed state of Gizmo in the SaxonC 12.1 release? I have Gizmo.c in commands and the bat file builds Gizmo.exe without problems but while I can start the Java Gizmo without any arguments Gizmo.exe tells me "Error: Not enough arguments in Transform".

Actions #6

Updated by Debbie Lockett over 1 year ago

  • Assignee changed from Debbie Lockett to O'Neil Delpratt
Actions #7

Updated by Martin Honnen over 1 year ago

O'Neil, what is in your assessment the state of Gizmo in the 12.1 SaxonC release? Should it work? Should it work without any arguments, as the Java version does?

Actions #8

Updated by O'Neil Delpratt over 1 year ago

Hi Martin, It is currently not supported. There are issues with the Line interactive feature with Graalvm. I will revisit this post 12.1.

Actions #9

Updated by O'Neil Delpratt about 1 year ago

There are fundamental issues with getting Gizmo to work on SaxonC. Putting this on the todo list.

Please register to edit this issue

Also available in: Atom PDF