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

Release 0.23.4. #483

Merged
merged 8 commits into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,6 @@ src/trgenvsc/foobar.zip
src/trgenvsc/foobar.zip
_tests/trxml/output
_tests/delabel/o.pt
/src/trgenvsc/templates/server/Logger
/src/trgenvsc/templates/server/ParseTreeEditing
/src/trgenvsc/templates/server/Workspaces
2 changes: 1 addition & 1 deletion _scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/bash
version=0.23.3
version=0.23.4
cd src
exes=`find . -name 'tr*.exe' | grep -v publish`
for i in $exes
Expand Down
4 changes: 2 additions & 2 deletions _scripts/set-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ do
mv asdfasdf *.csproj
rm -f asdfasdf2
touch readme.md
cat readme.md | sed -e 's%^0[.][0-9]*[.][0-9]*.*$'"%$version"' Clean up build of trgenvsc.%' > asdfasdf2
cat readme.md | sed -e 's%^0[.][0-9]*[.][0-9]*.*$'"%$version"' Add scripts for syntactic highlighting as default for trgenvsc.%' > asdfasdf2
mv asdfasdf2 readme.md
cd ..
done
Expand Down Expand Up @@ -78,7 +78,7 @@ do
mv asdfasdf *.csproj
rm -f asdfasdf2
touch readme.md
cat readme.md | sed -e 's%^0[.][0-9]*[.][0-9]*.*$'"%$version"' Clean up build of trgenvsc.%' > asdfasdf2
cat readme.md | sed -e 's%^0[.][0-9]*[.][0-9]*.*$'"%$version"' Add scripts for syntactic highlighting as default for trgenvsc.%' > asdfasdf2
mv asdfasdf2 readme.md
cd ..
done
Expand Down
2 changes: 1 addition & 1 deletion src/tragl/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This tool is part of Trash, Transformations for Antlr Shell.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/tranalyze/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ _Output_

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trcaret/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Reads a tree from stdin and prints lines and caret marks.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trclonereplace/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Clone, rename, and replace symbols in a grammar to optimize full stack fallbacks

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trcombine/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The original grammars are left unchanged.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trconvert/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ _Output_

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trcover/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ a grammar.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trdot/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The output will be:

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trenum/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trfirst/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ XPaths, type _export MSYS2_ARG_CONV_EXCL="*"_, then execute your command.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trfold/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ XPaths, type _export MSYS2_ARG_CONV_EXCL="*"_, then execute your command.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trfoldlit/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ XPaths, type _export MSYS2_ARG_CONV_EXCL="*"_, then execute your command.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trformat/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Format of grammar using machine learning.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/trgen/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ simplify and eliminate bugs created when adding new grammars.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
17 changes: 13 additions & 4 deletions src/trgenvsc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,18 @@ Generate a VSCode extension and LSP server for an Antlr4 grammar.
## Description

Generates a Visual Studio Code extension from an Antlr4 grammar. A CSharp
target must be available for the grammar. In addition, you will need to
supply a settings.rc file containing the classes of symbols for the editor.
A basic settings.rc file is supplied for you to edit.
target must be available for the grammar as the LSP server is implemented
in C#.

After generating the extension/server, proceed to building the extension
by changing to the "Generated-vsc/" directory, then running "bash install.sh".
The install.sh script performs the build of the C# server, and the TypeScript
extension. The script will also create a settings.rc JSON file that describes
the syntactic highlighting for the grammar. The script calls an auxilary Python
program to examine the grammar for single-character string literals, and using
the Unicode category to group these in a common class with a particular color.
You can modify the settings.rc file to perform semantic highlighting by adjusting
the XPath patterns to match certain parse trees.

## Usage

Expand All @@ -21,7 +30,7 @@ A basic settings.rc file is supplied for you to edit.

## Current version

0.23.4 Clean up build of trgenvsc.
0.23.4 Add scripts for syntactic highlighting as default for trgenvsc.

## License

Expand Down
Loading
Loading