Files
compiler-explorer/lib/asm-docs
Matt GodboltandClaude cb1db58de1 Refactor PTX docenizer to use structural parsing only
Replace all hardcoded lists and text matching with proper structural HTML parsing:

- Remove hardcoded keyword filter list (the, for, if, else, etc.)
- Remove hardcoded "common instruction" lists (add, sub, mul, div)
- Remove exact text matching for descriptions
- Remove useless conditional lxml import that did nothing

New approach uses document structure exclusively:
- Identifies instruction sections by ID pattern and documentation rubrics
- Extracts BOTH short descriptions (between instruction name and Syntax rubric)
  and detailed descriptions (after Description rubric)
- Short descriptions used for tooltips (e.g., "Add two values.")
- Detailed descriptions used for HTML content
- Prioritizes sections by hierarchy (integer-arithmetic > floating-point > etc.)
- Automatically adapts to documentation format changes

Result: Cleaner, more maintainable code that properly captures both the
concise tooltip text and detailed descriptions without any hardcoded patterns.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 10:16:42 -05:00
..
2025-07-28 10:34:46 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-07-28 10:34:46 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00