Skip to content

Move rescript-editor-analysis and rescript-tools into compiler repo #7000

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

Merged
merged 46 commits into from
Nov 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
6c40788
Dune: explicitly set package to "rescript" before adding more packages
cknitt Sep 1, 2024
6904577
Add package "analysis" from rescript-vscode repo
cknitt Sep 1, 2024
3fceca8
Analysis: remove vendored libs that are already in the compiler repo
cknitt Sep 1, 2024
dbd577b
Add Tast_iterator module from rescript-vscode repo
cknitt Sep 1, 2024
e3acfb1
Remove class stuff from Tast_iterator
cknitt Sep 1, 2024
0716c1f
Format Tast_iterator
cknitt Oct 31, 2024
0b82fa5
Fix DeadValue.ml
cknitt Sep 1, 2024
23502b5
No more Config.uncurried
cknitt Sep 1, 2024
20de8dd
Analysis: use default print width instead of taking it from syntax cli
cknitt Sep 1, 2024
ede3dba
Make pexp_attributes mutable
cknitt Nov 1, 2024
3cdce12
Add package "tools" from rescript-vscode repo
cknitt Sep 1, 2024
a764250
Format OCaml code
cknitt Sep 1, 2024
8c76c29
Mark Res_multi_printer.default_print_width as live
cknitt Sep 1, 2024
df18fa1
Format
cknitt Oct 31, 2024
ba56a9e
Do not check in tools/analysis test artifacts
cknitt Nov 1, 2024
12df921
Add rescript-editor-analysis and rescript-tools to rescript npm package
cknitt Nov 2, 2024
c8c627e
Fix path for analysis/tools binaries in test scripts
cknitt Nov 2, 2024
7f48594
Run analysis tests in CI
cknitt Nov 2, 2024
6426d79
analysis: get rid of PervasivesU
cknitt Nov 2, 2024
d023ea2
Nullable is now @unboxed
cknitt Nov 2, 2024
a8e787a
More pervasives
cknitt Nov 2, 2024
ec6fc9c
Analysis tests: use rescript from this repo and adapt
cknitt Nov 2, 2024
85e1c76
Output changes that are ok
cknitt Nov 2, 2024
e242851
Tools tests: use rescript from this repo
cknitt Nov 2, 2024
459d60b
commit OK changes to analysis output
zth Nov 10, 2024
aea019b
commit more OK changes to test output
zth Nov 10, 2024
166bca7
get CodeLens to a good enough state
zth Nov 10, 2024
77562e3
fix jsx prop completion broken by first class regexp literal support
zth Nov 10, 2024
490e341
use predef paths so weird type lookups do not happen
zth Nov 10, 2024
17e0e6c
commit OK change
zth Nov 10, 2024
ef14388
commit OK output
zth Nov 10, 2024
e3233f9
Fix gitignore
cknitt Nov 10, 2024
a405293
commit OK output (JSON type changes)
cknitt Nov 10, 2024
1067261
Do not run analysis tests on Windows
cknitt Nov 10, 2024
dd779f8
Add opam exec
cknitt Nov 10, 2024
01600b1
print module name instead of full file name in debug statement
zth Nov 10, 2024
fd90205
dont use deprecated functions
zth Nov 10, 2024
751d4f9
update generic jsx transform test
zth Nov 10, 2024
a47085e
update incremental typechecking test
zth Nov 10, 2024
2a91755
Fix uppercase exotic idents
cknitt Nov 10, 2024
908b54e
Don't run analysis tests on Linux ARM
cknitt Nov 10, 2024
fa39d1c
Move tools and analysis tests to tests folder
cknitt Nov 11, 2024
ac5f8b0
CHANGELOG
cknitt Nov 11, 2024
f7ed5b8
Add rescript-tools cli wrapper script
cknitt Nov 11, 2024
476bdaa
Remove obsolete Makefile
cknitt Nov 11, 2024
702458a
Ship RescriptTools module with the rescript npm package
cknitt Nov 11, 2024
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
Fix uppercase exotic idents
  • Loading branch information
cknitt committed Nov 11, 2024
commit 2a91755485b540dce47e114d2d620a4d40cbf72f
6 changes: 6 additions & 0 deletions tools/src/tools.ml
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,12 @@ let extractDocs ~entryPointFile ~debug =
items =
structure.items
|> List.filter_map (fun (item : Module.item) ->
let item =
{
item with
name = Ext_ident.unwrap_uppercase_exotic item.name;
}
in
let source = getSource ~rootPath item.loc in
match item.kind with
| Value typ ->
Expand Down