{"id":24092776,"url":"https://github.com/liarprincess/ariel","last_synced_at":"2025-10-13T21:04:05.486Z","repository":{"id":133389507,"uuid":"478991782","full_name":"LiarPrincess/Ariel","owner":"LiarPrincess","description":"Dump Swift module interface - all of the open/public declarations.","archived":false,"fork":false,"pushed_at":"2022-04-07T13:13:53.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-29T13:45:26.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/LiarPrincess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-07T13:13:30.000Z","updated_at":"2022-05-05T08:25:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7f90edf-779d-407a-ace3-8b06c8fe3f1f","html_url":"https://github.com/LiarPrincess/Ariel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiarPrincess/Ariel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiarPrincess%2FAriel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiarPrincess%2FAriel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiarPrincess%2FAriel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiarPrincess%2FAriel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiarPrincess","download_url":"https://codeload.github.com/LiarPrincess/Ariel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiarPrincess%2FAriel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017015,"owners_count":26085949,"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-10-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2025-01-10T08:37:41.571Z","updated_at":"2025-10-13T21:04:05.446Z","avatar_url":"https://github.com/LiarPrincess.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ariel\n\nAriel is a tiny executable that prints module interface (all of the `open`/`public` declarations). Examples are in the `Example output` directory.\n\nThis module was once a part of [Violet - Python VM written in Swift](https://github.com/LiarPrincess/Violet), but due to Xcode version dependency it was moved to separate repository.\n\n\u003e Important!\n\u003e\n\u003e Under the hood Ariel uses [apple/swift-syntax](https://github.com/apple/swift-syntax).\n\u003e\n\u003e Due to how `swift-syntax` works, we have to pin the specific Xcode version in our `Package.swift`. If you get compilation errors then compare your Xcode version with the one provided in `Package.swift`.\n\n## Usage\n\n```\nOVERVIEW: Tool to dump module interface (all of the 'public' and 'open'\ndeclarations).\n\nUSAGE: arguments [--verbose] [--min-access-level \u003caccess-level\u003e] [--output-path \u003cpath\u003e] \u003cinput-path\u003e\n\nARGUMENTS:\n  \u003cinput-path\u003e            Path to a single Swift file or to a directory that\n                          contains such files (recursive).\n\nOPTIONS:\n  --verbose               Print additional messages.\n  --min-access-level \u003caccess-level\u003e\n                          Minimum access level needed for the declaration to be\n                          visible in the output. Note that the declaration may\n                          be visible anyway, if one of the nested declarations\n                          is visible. (default: public)\n  --output-path \u003cpath\u003e    Path at which the generated file will be written\n                          (default: standard output). If the value represents a\n                          path to a file then the output will be written to\n                          this file. If the value represents a directory then\n                          new file will be created in this directory (name of\n                          the file depends on the input name).\n  --version               Show the version.\n  -h, --help              Show help information.\n```\n\n\n\n\n\n## Code style\n\n- 2-space indents and no tabs at all\n- 80 characters per line\n    - You will get a [SwiftLint](https://github.com/realm/SwiftLint) warning if you go over 100.\n    - Over 120 will result in a compilation error.\n    - If 80 doesn't give you enough room to code, your code is too complicated - consider using subroutines (advice from [PEP-7](https://www.python.org/dev/peps/pep-0007/)).\n- Required `self` in methods and computed properties\n    - All of the other method arguments are named, so we will require it for this one.\n    - `Self`/`type name` for static methods is recommended, but not required.\n    - I’m sure that they will depreciate the implicit `self` in the next major Swift version 🤞. All of that source breakage is completely justified.\n- No whitespace at the end of the line\n    - Some editors may remove it as a matter of routine and we don’t want weird git diffs.\n- (pet peeve) Try to introduce a named variable for every `if` condition.\n    - You can use a single logical operator - something like `if !isPrincess` or `if isDisnepCharacter \u0026\u0026 isPrincess` is allowed.\n    - Do not use `\u0026\u0026` and `||` in the same expression, create a variable for one of them.\n    - If you need parenthesis then it is already too complicated.\n\nAnyway, just use [SwiftLint](https://github.com/realm/SwiftLint) and [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) with provided presets (see [.swiftlint.yml](.swiftlint.yml) and [.swiftformat](.swiftformat) files).\n\n## License\n\nAriel is licensed under the MIT License.\nSee [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliarprincess%2Fariel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliarprincess%2Fariel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliarprincess%2Fariel/lists"}