Bruce D'Arcus · @bdarcus
58 followers · 240 posts · Server mas.to

As I'm working on some changes to the style model, I decided to look back to the first example of a style I could find; one from 2006.

This was from the initial XSLT implementation; before "macros" and when there was a "relation" attribute.

Coincidentally (in the sense I didn't set out to do this), that version and what I'm working on now share some similarities.

#csl #cslnext

Last updated 1 year ago

Bruce D'Arcus · @bdarcus
56 followers · 213 posts · Server mas.to

Have had a very interesting back-and-forth on sorting and extended date formatting with Philip Kime from the project over the past few days.

github.com/bdarcus/csln/issues

I've always admired the attention to detail in that project from afar, but it's interesting to compare some of the similarities and differences in design details.

To it's credit, BibLaTeX tends to provide both a lot of low-level power and flexibility, AND easy-to-use interfaces on top.

#biblatex #cslnext

Last updated 1 year ago

Bruce D'Arcus · @bdarcus
54 followers · 194 posts · Server mas.to

With latest commits, the functionality of the based code is almost equivalent to the the prototype.

github.com/bdarcus/csln/commit

It renders references with basic templates into a properly-sorted JSON AST, and I've implemented basic disambiguation (such as Doe, 2020c).

And it seems roughly 10x faster than the typescript code.

#typescript #rustlang #cslnext

Last updated 1 year ago

Bruce D'Arcus · @bdarcus
54 followers · 189 posts · Server mas.to

The last week or so I've tried to figure out the best strategy for integrating code generation in the project, as it's not a lossless process on some of the more complex details.

So I now have three repos:

1. A Typescript one (generates schemas and lossy rust code)
2. A pure Rust one at github.com/bdarcus/csln (generates pretty good schemas, extremely quickly, with a lot of flexibility; should be able to generate TS)
3. A hybrid one; Rust-based, but with code generated from 1.

#cslnext

Last updated 1 year ago

Bruce D'Arcus · @bdarcus
54 followers · 186 posts · Server mas.to

The last week or so I've trying to figure out the best strategy for integrating code generation in the project, as it's not a lossless process on some of the more complex details.

So I now have three repos ATM:

1. A Typescript one (generates schemas and lossy rust code)
2. A pure Rust one at github.com/bdarcus/csln (generates pretty good schemas, extremely quickly, with a lot of flexibility; should be able to generate TS)
3. A hybrid one; Rust-based, but with code generated from 1.

#cslnext

Last updated 1 year ago

Bruce D'Arcus · @bdarcus
54 followers · 180 posts · Server mas.to

The project (no, I'm not good with project names, and it's likely temporary) has turned out to be pretty fun.

I switched to using for development a couple of weeks ago, and in the past couple of days finally hit a key milestone:

github.com/bdarcus/csl-next/co

Will be tagging v0.1.0 in the coming days, which is just me saying the draft model is solid enough to start building out the processing functionality.

#deno #csl #cslnext

Last updated 1 year ago