├── .gitignore ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── code ├── .gitignore ├── common.ts ├── fall │ ├── .gitignore │ ├── .npmrc │ ├── .vscode │ │ ├── launch.json │ │ ├── settings.json │ │ └── tasks.json │ ├── native │ │ ├── .gitignore │ │ ├── .vscode │ │ │ └── settings.json │ │ ├── Cargo.lock │ │ ├── Cargo.toml │ │ ├── build.rs │ │ └── src │ │ │ └── lib.rs │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── common.ts │ │ └── main.ts │ └── tsconfig.json ├── generic_backend │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ └── support.rs └── rust │ ├── .gitignore │ ├── .npmrc │ ├── native │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ ├── build.rs │ └── src │ │ └── lib.rs │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── common.ts │ └── main.ts │ └── tsconfig.json ├── fall ├── editor │ ├── Cargo.toml │ └── src │ │ ├── actions.rs │ │ ├── extend_selection.rs │ │ ├── hl.rs │ │ └── lib.rs ├── gen │ ├── Cargo.toml │ ├── src │ │ ├── bin │ │ │ └── gen.rs │ │ ├── generate │ │ │ ├── codegen.rs │ │ │ └── mod.rs │ │ ├── lib.rs │ │ └── util.rs │ └── tests │ │ └── cli.rs ├── parse │ ├── Cargo.toml │ └── src │ │ ├── lex_engine.rs │ │ ├── lib.rs │ │ └── syn_engine │ │ ├── convert.rs │ │ ├── expr.rs │ │ ├── mod.rs │ │ ├── parser.rs │ │ └── pratt.rs ├── test │ ├── Cargo.toml │ ├── src │ │ ├── arith.fall │ │ ├── arith.rs │ │ ├── arith.txt │ │ ├── lib.rs │ │ ├── sexp.fall │ │ ├── sexp.rs │ │ ├── weird.fall │ │ └── weird.rs │ └── tests │ │ ├── arith.rs │ │ ├── sexp.rs │ │ └── weird.rs ├── text │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── prop.rs │ │ ├── text.rs │ │ ├── text_buf.rs │ │ ├── text_edit.rs │ │ ├── text_range.rs │ │ ├── text_slice.rs │ │ └── text_unit.rs └── tree │ ├── Cargo.toml │ └── src │ ├── ast.rs │ ├── edit.rs │ ├── lang.rs │ ├── lib.rs │ ├── metrics.rs │ ├── node │ ├── imp.rs │ ├── mod.rs │ └── tree_builder.rs │ ├── node_type.rs │ ├── search.rs │ ├── test_util.rs │ ├── util.rs │ └── visitor.rs ├── indxr ├── Cargo.toml └── src │ └── lib.rs ├── justfile ├── lang ├── bnf │ ├── Cargo.toml │ ├── src │ │ ├── bnf.fall │ │ ├── bnf.rs │ │ └── lib.rs │ └── tests │ │ ├── bnf.rs │ │ └── inline.txt ├── fall │ ├── Cargo.toml │ ├── src │ │ ├── analysis │ │ │ ├── db.rs │ │ │ ├── diagnostics.rs │ │ │ ├── mod.rs │ │ │ └── query │ │ │ │ ├── all_context_ids.rs │ │ │ │ ├── all_lex_rules.rs │ │ │ │ ├── all_syn_rules.rs │ │ │ │ ├── ast_node_traits.rs │ │ │ │ ├── find_lex_rule.rs │ │ │ │ ├── find_syn_rule.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── resolve_call.rs │ │ │ │ ├── resolve_method.rs │ │ │ │ ├── resolve_pratt_variant.rs │ │ │ │ ├── resolve_ref_expr.rs │ │ │ │ └── unused_rules.rs │ │ ├── ast_ext.rs │ │ ├── editor │ │ │ ├── actions │ │ │ │ ├── extract_rule.rs │ │ │ │ ├── mod.rs │ │ │ │ └── swap_alternatives.rs │ │ │ ├── formatter.rs │ │ │ ├── highlighting.rs │ │ │ ├── mod.rs │ │ │ ├── references │ │ │ │ ├── mod.rs │ │ │ │ └── refdec.rs │ │ │ └── structure.rs │ │ └── lib.rs │ ├── syntax │ │ ├── Cargo.toml │ │ ├── src │ │ │ ├── ast_ext.rs │ │ │ ├── fall.fall │ │ │ ├── fall.rs │ │ │ └── lib.rs │ │ └── tests │ │ │ └── prop.rs │ └── tests │ │ ├── inline.txt │ │ └── test.rs ├── json │ ├── Cargo.toml │ ├── src │ │ ├── json.fall │ │ ├── json.rs │ │ └── lib.rs │ └── tests │ │ └── test.rs └── rust │ ├── Cargo.toml │ ├── src │ ├── bin │ │ ├── index_test.rs │ │ └── perf_test.rs │ ├── editor │ │ ├── actions.rs │ │ ├── file_symbols.rs │ │ ├── fst_subseq.rs │ │ ├── line_index.rs │ │ ├── mod.rs │ │ └── symbol_index.rs │ └── lib.rs │ └── syntax │ ├── Cargo.toml │ ├── src │ ├── lib.rs │ ├── rust.fall │ └── rust.rs │ └── tests │ ├── data │ ├── attributes.rs │ ├── attributes.txt │ ├── enum.rs │ ├── enum.txt │ ├── expressions.rs │ ├── expressions.txt │ ├── functions.rs │ ├── functions.txt │ ├── impl.rs │ ├── impl.txt │ ├── mods.rs │ ├── mods.txt │ ├── parser.rs_ │ ├── paths.rs │ ├── paths.txt │ ├── patterns.rs │ ├── patterns.txt │ ├── struct.rs │ ├── struct.txt │ ├── struct_recovery.rs │ ├── struct_recovery.txt │ ├── tuple_parent_ambiguity.rs │ ├── tuple_parent_ambiguity.txt │ ├── type.rs │ ├── type.txt │ ├── type_parameters.rs │ ├── type_parameters.txt │ ├── use.rs │ ├── use.txt │ ├── visibility.rs │ └── visibility.txt │ ├── inline.txt │ └── test.rs └── watch.sh /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | target 4 | /todo.txt 5 | /code_old/* 6 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/README.md -------------------------------------------------------------------------------- /code/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/.gitignore -------------------------------------------------------------------------------- /code/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/common.ts -------------------------------------------------------------------------------- /code/fall/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | out -------------------------------------------------------------------------------- /code/fall/.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/.npmrc -------------------------------------------------------------------------------- /code/fall/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/.vscode/launch.json -------------------------------------------------------------------------------- /code/fall/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/.vscode/settings.json -------------------------------------------------------------------------------- /code/fall/.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/.vscode/tasks.json -------------------------------------------------------------------------------- /code/fall/native/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | index.node 3 | artifacts.json 4 | -------------------------------------------------------------------------------- /code/fall/native/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /code/fall/native/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/native/Cargo.lock -------------------------------------------------------------------------------- /code/fall/native/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/native/Cargo.toml -------------------------------------------------------------------------------- /code/fall/native/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/native/build.rs -------------------------------------------------------------------------------- /code/fall/native/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/native/src/lib.rs -------------------------------------------------------------------------------- /code/fall/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/package-lock.json -------------------------------------------------------------------------------- /code/fall/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/package.json -------------------------------------------------------------------------------- /code/fall/src/common.ts: -------------------------------------------------------------------------------- 1 | ../../common.ts -------------------------------------------------------------------------------- /code/fall/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/src/main.ts -------------------------------------------------------------------------------- /code/fall/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/fall/tsconfig.json -------------------------------------------------------------------------------- /code/generic_backend/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/generic_backend/Cargo.lock -------------------------------------------------------------------------------- /code/generic_backend/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/generic_backend/Cargo.toml -------------------------------------------------------------------------------- /code/generic_backend/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/generic_backend/src/lib.rs -------------------------------------------------------------------------------- /code/generic_backend/src/support.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/generic_backend/src/support.rs -------------------------------------------------------------------------------- /code/rust/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | out -------------------------------------------------------------------------------- /code/rust/.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/.npmrc -------------------------------------------------------------------------------- /code/rust/native/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | index.node 3 | artifacts.json 4 | -------------------------------------------------------------------------------- /code/rust/native/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/native/Cargo.lock -------------------------------------------------------------------------------- /code/rust/native/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/native/Cargo.toml -------------------------------------------------------------------------------- /code/rust/native/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/native/build.rs -------------------------------------------------------------------------------- /code/rust/native/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/native/src/lib.rs -------------------------------------------------------------------------------- /code/rust/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/package-lock.json -------------------------------------------------------------------------------- /code/rust/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/package.json -------------------------------------------------------------------------------- /code/rust/src/common.ts: -------------------------------------------------------------------------------- 1 | ../../common.ts -------------------------------------------------------------------------------- /code/rust/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/src/main.ts -------------------------------------------------------------------------------- /code/rust/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/code/rust/tsconfig.json -------------------------------------------------------------------------------- /fall/editor/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/editor/Cargo.toml -------------------------------------------------------------------------------- /fall/editor/src/actions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/editor/src/actions.rs -------------------------------------------------------------------------------- /fall/editor/src/extend_selection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/editor/src/extend_selection.rs -------------------------------------------------------------------------------- /fall/editor/src/hl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/editor/src/hl.rs -------------------------------------------------------------------------------- /fall/editor/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/editor/src/lib.rs -------------------------------------------------------------------------------- /fall/gen/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/gen/Cargo.toml -------------------------------------------------------------------------------- /fall/gen/src/bin/gen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/gen/src/bin/gen.rs -------------------------------------------------------------------------------- /fall/gen/src/generate/codegen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/gen/src/generate/codegen.rs -------------------------------------------------------------------------------- /fall/gen/src/generate/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/gen/src/generate/mod.rs -------------------------------------------------------------------------------- /fall/gen/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/gen/src/lib.rs -------------------------------------------------------------------------------- /fall/gen/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/gen/src/util.rs -------------------------------------------------------------------------------- /fall/gen/tests/cli.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/gen/tests/cli.rs -------------------------------------------------------------------------------- /fall/parse/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/parse/Cargo.toml -------------------------------------------------------------------------------- /fall/parse/src/lex_engine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/parse/src/lex_engine.rs -------------------------------------------------------------------------------- /fall/parse/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/parse/src/lib.rs -------------------------------------------------------------------------------- /fall/parse/src/syn_engine/convert.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/parse/src/syn_engine/convert.rs -------------------------------------------------------------------------------- /fall/parse/src/syn_engine/expr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/parse/src/syn_engine/expr.rs -------------------------------------------------------------------------------- /fall/parse/src/syn_engine/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/parse/src/syn_engine/mod.rs -------------------------------------------------------------------------------- /fall/parse/src/syn_engine/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/parse/src/syn_engine/parser.rs -------------------------------------------------------------------------------- /fall/parse/src/syn_engine/pratt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/parse/src/syn_engine/pratt.rs -------------------------------------------------------------------------------- /fall/test/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/Cargo.toml -------------------------------------------------------------------------------- /fall/test/src/arith.fall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/src/arith.fall -------------------------------------------------------------------------------- /fall/test/src/arith.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/src/arith.rs -------------------------------------------------------------------------------- /fall/test/src/arith.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/src/arith.txt -------------------------------------------------------------------------------- /fall/test/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/src/lib.rs -------------------------------------------------------------------------------- /fall/test/src/sexp.fall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/src/sexp.fall -------------------------------------------------------------------------------- /fall/test/src/sexp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/src/sexp.rs -------------------------------------------------------------------------------- /fall/test/src/weird.fall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/src/weird.fall -------------------------------------------------------------------------------- /fall/test/src/weird.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/src/weird.rs -------------------------------------------------------------------------------- /fall/test/tests/arith.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/tests/arith.rs -------------------------------------------------------------------------------- /fall/test/tests/sexp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/tests/sexp.rs -------------------------------------------------------------------------------- /fall/test/tests/weird.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/test/tests/weird.rs -------------------------------------------------------------------------------- /fall/text/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/Cargo.toml -------------------------------------------------------------------------------- /fall/text/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/src/lib.rs -------------------------------------------------------------------------------- /fall/text/src/prop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/src/prop.rs -------------------------------------------------------------------------------- /fall/text/src/text.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/src/text.rs -------------------------------------------------------------------------------- /fall/text/src/text_buf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/src/text_buf.rs -------------------------------------------------------------------------------- /fall/text/src/text_edit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/src/text_edit.rs -------------------------------------------------------------------------------- /fall/text/src/text_range.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/src/text_range.rs -------------------------------------------------------------------------------- /fall/text/src/text_slice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/src/text_slice.rs -------------------------------------------------------------------------------- /fall/text/src/text_unit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/text/src/text_unit.rs -------------------------------------------------------------------------------- /fall/tree/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/Cargo.toml -------------------------------------------------------------------------------- /fall/tree/src/ast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/ast.rs -------------------------------------------------------------------------------- /fall/tree/src/edit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/edit.rs -------------------------------------------------------------------------------- /fall/tree/src/lang.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/lang.rs -------------------------------------------------------------------------------- /fall/tree/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/lib.rs -------------------------------------------------------------------------------- /fall/tree/src/metrics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/metrics.rs -------------------------------------------------------------------------------- /fall/tree/src/node/imp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/node/imp.rs -------------------------------------------------------------------------------- /fall/tree/src/node/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/node/mod.rs -------------------------------------------------------------------------------- /fall/tree/src/node/tree_builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/node/tree_builder.rs -------------------------------------------------------------------------------- /fall/tree/src/node_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/node_type.rs -------------------------------------------------------------------------------- /fall/tree/src/search.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/search.rs -------------------------------------------------------------------------------- /fall/tree/src/test_util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/test_util.rs -------------------------------------------------------------------------------- /fall/tree/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/util.rs -------------------------------------------------------------------------------- /fall/tree/src/visitor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/fall/tree/src/visitor.rs -------------------------------------------------------------------------------- /indxr/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/indxr/Cargo.toml -------------------------------------------------------------------------------- /indxr/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/indxr/src/lib.rs -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/justfile -------------------------------------------------------------------------------- /lang/bnf/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/bnf/Cargo.toml -------------------------------------------------------------------------------- /lang/bnf/src/bnf.fall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/bnf/src/bnf.fall -------------------------------------------------------------------------------- /lang/bnf/src/bnf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/bnf/src/bnf.rs -------------------------------------------------------------------------------- /lang/bnf/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/bnf/src/lib.rs -------------------------------------------------------------------------------- /lang/bnf/tests/bnf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/bnf/tests/bnf.rs -------------------------------------------------------------------------------- /lang/bnf/tests/inline.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/bnf/tests/inline.txt -------------------------------------------------------------------------------- /lang/fall/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/Cargo.toml -------------------------------------------------------------------------------- /lang/fall/src/analysis/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/db.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/diagnostics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/diagnostics.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/mod.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/all_context_ids.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/all_context_ids.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/all_lex_rules.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/all_lex_rules.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/all_syn_rules.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/all_syn_rules.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/ast_node_traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/ast_node_traits.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/find_lex_rule.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/find_lex_rule.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/find_syn_rule.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/find_syn_rule.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/mod.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/resolve_call.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/resolve_call.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/resolve_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/resolve_method.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/resolve_pratt_variant.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/resolve_pratt_variant.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/resolve_ref_expr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/resolve_ref_expr.rs -------------------------------------------------------------------------------- /lang/fall/src/analysis/query/unused_rules.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/analysis/query/unused_rules.rs -------------------------------------------------------------------------------- /lang/fall/src/ast_ext.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/ast_ext.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/actions/extract_rule.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/actions/extract_rule.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/actions/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/actions/mod.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/actions/swap_alternatives.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/actions/swap_alternatives.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/formatter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/formatter.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/highlighting.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/highlighting.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/mod.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/references/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/references/mod.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/references/refdec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/references/refdec.rs -------------------------------------------------------------------------------- /lang/fall/src/editor/structure.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/editor/structure.rs -------------------------------------------------------------------------------- /lang/fall/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/src/lib.rs -------------------------------------------------------------------------------- /lang/fall/syntax/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/syntax/Cargo.toml -------------------------------------------------------------------------------- /lang/fall/syntax/src/ast_ext.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/syntax/src/ast_ext.rs -------------------------------------------------------------------------------- /lang/fall/syntax/src/fall.fall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/syntax/src/fall.fall -------------------------------------------------------------------------------- /lang/fall/syntax/src/fall.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/syntax/src/fall.rs -------------------------------------------------------------------------------- /lang/fall/syntax/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/syntax/src/lib.rs -------------------------------------------------------------------------------- /lang/fall/syntax/tests/prop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/syntax/tests/prop.rs -------------------------------------------------------------------------------- /lang/fall/tests/inline.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/tests/inline.txt -------------------------------------------------------------------------------- /lang/fall/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/fall/tests/test.rs -------------------------------------------------------------------------------- /lang/json/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/json/Cargo.toml -------------------------------------------------------------------------------- /lang/json/src/json.fall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/json/src/json.fall -------------------------------------------------------------------------------- /lang/json/src/json.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/json/src/json.rs -------------------------------------------------------------------------------- /lang/json/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/json/src/lib.rs -------------------------------------------------------------------------------- /lang/json/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/json/tests/test.rs -------------------------------------------------------------------------------- /lang/rust/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/Cargo.toml -------------------------------------------------------------------------------- /lang/rust/src/bin/index_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/bin/index_test.rs -------------------------------------------------------------------------------- /lang/rust/src/bin/perf_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/bin/perf_test.rs -------------------------------------------------------------------------------- /lang/rust/src/editor/actions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/editor/actions.rs -------------------------------------------------------------------------------- /lang/rust/src/editor/file_symbols.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/editor/file_symbols.rs -------------------------------------------------------------------------------- /lang/rust/src/editor/fst_subseq.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/editor/fst_subseq.rs -------------------------------------------------------------------------------- /lang/rust/src/editor/line_index.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/editor/line_index.rs -------------------------------------------------------------------------------- /lang/rust/src/editor/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/editor/mod.rs -------------------------------------------------------------------------------- /lang/rust/src/editor/symbol_index.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/editor/symbol_index.rs -------------------------------------------------------------------------------- /lang/rust/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/src/lib.rs -------------------------------------------------------------------------------- /lang/rust/syntax/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/Cargo.toml -------------------------------------------------------------------------------- /lang/rust/syntax/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/src/lib.rs -------------------------------------------------------------------------------- /lang/rust/syntax/src/rust.fall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/src/rust.fall -------------------------------------------------------------------------------- /lang/rust/syntax/src/rust.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/src/rust.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/attributes.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/attributes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/attributes.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/enum.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/enum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/enum.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/expressions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/expressions.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/expressions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/expressions.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/functions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/functions.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/functions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/functions.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/impl.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/impl.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/impl.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/mods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/mods.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/mods.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/mods.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/parser.rs_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/parser.rs_ -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/paths.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/paths.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/paths.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/paths.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/patterns.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/patterns.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/patterns.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/patterns.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/struct.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/struct.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/struct.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/struct_recovery.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/struct_recovery.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/struct_recovery.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/struct_recovery.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/tuple_parent_ambiguity.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/tuple_parent_ambiguity.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/tuple_parent_ambiguity.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/tuple_parent_ambiguity.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/type.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/type.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/type.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/type_parameters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/type_parameters.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/type_parameters.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/type_parameters.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/use.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/use.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/use.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/use.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/visibility.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/visibility.rs -------------------------------------------------------------------------------- /lang/rust/syntax/tests/data/visibility.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/data/visibility.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/inline.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/inline.txt -------------------------------------------------------------------------------- /lang/rust/syntax/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/lang/rust/syntax/tests/test.rs -------------------------------------------------------------------------------- /watch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matklad/fall/HEAD/watch.sh --------------------------------------------------------------------------------