I think there is one in BEAM already, turns out to be quite handy when
parsing text data a character at a time. Basically as you can see from the
API is provides utilities to peek ahead and move ahead if the next chars
are a given substring.



On Thu, 3 Nov 2022 at 06:46, Uli Fechner <u...@pending.ai> wrote:

> Finally found some time to have a go at this.
>
> References to the class CharIter pop up quite a bit in RdfReader. Do
> you have an implementation of this class that you can provide?
> Alternatively, the functionality can probably be guessed from the
> method names and then replicated, but I'd prefer to just take whatever
> you can provide.
>
>
> Uli Fechner
>
> Senior Software Developer
>
> Pending AI
>
>
>
>
> u...@pending.ai
> https://pending.ai/
> The National Innovation Centre, Suite 112, 4 Cornwallis St., NSW 2015,
> Australia
>
>
> On Fri, Oct 21, 2022 at 12:16 AM John Mayfield
> <john.wilkinson...@gmail.com> wrote:
> >
> > Sure... it's currently intended to be Toolkit agnostic, Rdf (the CTfile
> kind not the triple kind) is kind of a meta-format.
> >
> > John
> >
> > On Thu, 20 Oct 2022 at 12:30, Uli Fechner <u...@pending.ai> wrote:
> >>
> >> I have to check what our priorities are at the moment but if I find the
> time would you be okay with me merging this in CDK?
> >>
> >> On Thu, Oct 20, 2022 at 7:30 PM John Mayfield <
> john.wilkinson...@gmail.com> wrote:
> >>>
> >>> Correct, my plan was to add it when I rewrote the MDL/CTfile stack
> which is needed. This is a v. large effort though and the danger in add the
> RDF support is I would just redo it in future. However since the format is
> quite trival it's possible to have some local code to do this (I did the
> same with RInChI).
> >>>
> >>> I may merge in the attached but I have very little time at the moment.
> >>>
> >>> On Thu, 20 Oct 2022 at 07:44, Uli Fechner <u...@pending.ai> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> I had a good look at the code but would appreciate it if you confirm
> what my assessment is:
> >>>>
> >>>> 1) CDK has support for reading RXN V2000 and RXN V3000 and support
> for writing RXN V2000.
> >>>>
> >>>> 2) There is no support for RDF at the moment, neither for reading nor
> for writing.
> >>>>
> >>>> Is that correct? Are there any limitations or known issues when it
> comes to the file formats mentioned above?
> >>>>
> >>>> Thanks.
> >>>> Uli
> >>>> _______________________________________________
> >>>> Cdk-user mailing list
> >>>> Cdk-user@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/cdk-user
>

Attachment: CharIter.java
Description: Binary data

_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to