github-linguist/linguist

Add Language: USD

Open

#6,383 opened on Apr 19, 2023

View on GitHub
 (0 comments) (3 reactions) (0 assignees)Ruby (5,166 forks)batch import
Add LanguageGood First Issue

Repository metrics

Stars
 (13,466 stars)
PR merge metrics
 (Avg merge 102d 5h) (19 merged PRs in 30d)

Description

Language name

USD, developed by Pixar Animation Studios

URL of example repository

https://github.com/PixarAnimationStudios/USD - Example

https://github.com/ColinKennedy/USD-Cookbook - See any **/usda folder for examples. Here's an example

URL of syntax highlighting grammar

Tree-sitter

https://github.com/ColinKennedy/tree-sitter-usd

VSCode

https://github.com/AnimalLogic/AL_usd_vscode_extension

Pygments

General Syntax List Of Keywords Full disclosure, I wrote this lexer and it isn't perfect (for example, not catching .connect as part of an attribute name). Screenshot of what the looks like, here

Text Editors

A simpler, regex-based example Vim's example some small issues in my experience but it works pretty well overall

Most popular extensions

Grammar Features

This gist shows a fairly complex USD file and some of its syntax features.

Detected language

None

Contributor guide