Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 527 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 527 Bytes

A document generator for zig.

cat examples/top_level.zig | ./docgen

For now, the idea is to perform lexing and some simplistic parsing of the top-level structure, returning useful definitions in an intermediate format (.e.g JSON).

Eventually it may make sense to provide lexing/parsing support of the language as part of the stdlib.

checklist

  • Complete tokenization support
  • Partial top-level parsing support
  • Intermediate output generation
  • Hook into an existing backend/generate output