Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Swift programming language #2734

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c706436
initial edits for Swift language support
atacan Jan 18, 2025
c3a0c3c
additional scope features
atacan Jan 18, 2025
37c03d1
replace `collectionKey` with `key.mapPair`
atacan Jan 18, 2025
e01350e
remove the Swift-specific type scopes since they're not in the standa…
atacan Jan 18, 2025
1110787
ensure proper alignment between the scope support map and the tree-si…
atacan Jan 18, 2025
3a54328
wip
atacan Jan 18, 2025
e9323fe
swift MDX
atacan Jan 18, 2025
3f4506c
deleted
atacan Jan 18, 2025
1655be7
start from scratch
atacan Jan 18, 2025
e6b91c8
Add Swift grammar rules and declarations to swift.scm
atacan Jan 18, 2025
231064a
start small
atacan Jan 18, 2025
8a0ddd2
make the function work
atacan Jan 18, 2025
f2d8d64
swift.scm by adding class and protocol declarations.
atacan Jan 18, 2025
31d4d2a
full support not-support list
atacan Jan 18, 2025
dbda618
Enhance swift.scm by adding support for import, property, typealias, …
atacan Jan 18, 2025
a568661
Add support for ternary expressions and enhance comment handling in s…
atacan Jan 18, 2025
df4ac3d
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Jan 18, 2025
53ec6d1
Add support for switch statements and enhance if/guard statement hand…
atacan Jan 18, 2025
1cc4244
wrong folder?
atacan Jan 19, 2025
93437b6
swift playground
atacan Jan 19, 2025
5a7de2e
Add support for protocol declarations and enhance argument handling i…
atacan Jan 19, 2025
4e7087c
Merge branch 'main' into add-swift
AndreasArvidsson Feb 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wrong folder?
atacan committed Jan 19, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 1cc4244f7a7d3b203ea7c45505e2c29715fe1e42
11 changes: 0 additions & 11 deletions data/fixtures/scopes/swift/namedFunction.constructor.scope

This file was deleted.

13 changes: 0 additions & 13 deletions data/fixtures/scopes/swift/namedFunction.method.scope

This file was deleted.

6 changes: 0 additions & 6 deletions data/fixtures/scopes/swift/namedFunction.scope

This file was deleted.