messense / messense/typst-py

AST Access?

Open
#130 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
353
Forks
30
Avg merge
19m
Merged PRs (30d)
1

Description

I'm looking for a way to access the parsed representation of a Typst doc from Python. Does this library provide that? If not, would you be open to a PR that adds that functionality?

I want to introspect Typst templates to identify the parameters needed to compile them. I will use this to dynamically create a user-facing form for the template so a user can provide the required information and get a compiled PDF directly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing Python binding entry points and how parsed Typst documents are represented. Clarify with maintainers whether AST access and template-parameter introspection are in scope, and what representation the API should expose. Done means an agreed scope and a documented, tested API or an explicit decision that the feature will not be added.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.