{"id":30441714,"url":"https://github.com/abock/dotlang","last_synced_at":"2025-08-23T07:11:01.562Z","repository":{"id":52485913,"uuid":"221839737","full_name":"abock/dotlang","owner":"abock","description":".NET Standard library for parsing and generating Graphviz DOT files.","archived":false,"fork":false,"pushed_at":"2020-06-26T16:20:54.000Z","size":534,"stargazers_count":22,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-15T05:23:28.626Z","etag":null,"topics":["abstract-syntax-tree","ast","dot","dot-language","dotnet","dotnet-standard","graphviz","lexing","parsing"],"latest_commit_sha":null,"homepage":"https://abock.github.io/dotlang","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-15T03:51:33.000Z","updated_at":"2024-11-17T12:10:53.000Z","dependencies_parsed_at":"2022-09-06T15:40:16.445Z","dependency_job_id":null,"html_url":"https://github.com/abock/dotlang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abock/dotlang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2Fdotlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2Fdotlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2Fdotlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2Fdotlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abock","download_url":"https://codeload.github.com/abock/dotlang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2Fdotlang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745788,"owners_count":24813527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abstract-syntax-tree","ast","dot","dot-language","dotnet","dotnet-standard","graphviz","lexing","parsing"],"created_at":"2025-08-23T07:10:56.487Z","updated_at":"2025-08-23T07:11:01.542Z","avatar_url":"https://github.com/abock.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DotLang: DOT Language Library for  .NET\n\n[![.NET Core](https://github.com/abock/dotlang/workflows/.NET%20Core/badge.svg)](https://github.com/abock/dotlang/actions?query=workflow%3A%22.NET+Core%22)\n[![NuGet Badge](https://buildstats.info/nuget/Graphviz.DotLanguage)](https://www.nuget.org/packages/Graphviz.DotLanguage/)\n[![License](https://img.shields.io/badge/license-MIT%20License-blue.svg)](LICENSE)\n\nDotLang provides a full fidelity lexer, recursive descent parser, and\nabstract syntax tree for the [Graphviz][graphviz] [DOT Language][dot-lang],\nwritten in modern C# 8.0. It is available as a `netstandard2.0` library.\n\n## Resources\n\n* [DotLang API Documentation](https://abock.github.io/dotlang)\n\n## Goals\n\nThe primary goal of this project is to ultimately provide a language\nservice for Visual Studio that provides rich syntactic and semantic\nanalysis of  Graphviz DOT files: syntax highlighting, semantic\ncompletion, and Quick Info tooltips.\n\nTo support this goal, the lexer and parser are written with inspiration\nfrom [Roslyn][roslyn]: nothing is ever discarded, and the produced AST\ncan be run through a `SyntaxVisitor` to produce output DOT source code\nthat is identical to its input.\n\n### Anti-Goals\n\nNotably, DotLang does _not_ aspire to actually render [Graphviz][graphviz]\ngraphs. There are plenty of tools for this already.\n\n## Contribute\n\nDotLang is a .NET Standard 2.0 project and can be built with the latest\nstable Visual Studio, Visual Studio for Mac, or the .NET Core toolchain.\n\n### Common commands to run when developing:\n\n* `dotnet build`\n* `dotnet test`\n* `dotnet pack`\n* `dotnet msbuild /t:UpdateDocs`\n\n## TODO\n\n- Actual diagnostics\n  - Currently the parser just throws/bails\n- Language service\n  - Would be awesome to leverage XML/HTML projection buffers for `XmlLiteralToken`\n\n[graphviz]: https://graphviz.gitlab.io/\n[dot-lang]: https://graphviz.gitlab.io/_pages/doc/info/lang.html\n[roslyn]: https://github.com/dotnet/roslyn","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabock%2Fdotlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabock%2Fdotlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabock%2Fdotlang/lists"}