-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
855 changed files
with
16,446 additions
and
39,778 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,6 @@ sudo apt-get install -y nodejs | |
echo node version: $(node --version) | ||
echo "done installing nodejs" | ||
|
||
echo "installing yarn..." | ||
sudo npm install -g [email protected] | ||
echo "done installing yarn" | ||
|
||
echo "packaging javascript runtime..." | ||
pushd runtime/JavaScript | ||
sudo npm install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
# This section defines defaults for all languages. Currently we derive ANTLR style from LLVM. | ||
BasedOnStyle: LLVM | ||
# Only use clang-format for C++ for now. | ||
DisableFormat: true | ||
|
||
--- | ||
# This section configures C++ formatting. | ||
Language: Cpp | ||
DisableFormat: false | ||
Standard: c++17 | ||
# Prevent clang-format from attempting to pick the alignment and always use right alignment. | ||
DerivePointerAlignment: false | ||
# ANTLR existing style is to right align pointers and references. | ||
PointerAlignment: Right | ||
ReferenceAlignment: Right | ||
# Some of ANTLR existing code is longer than the default 80, so use 100 for now. | ||
ColumnLimit: 100 | ||
# Historically ANTLR has used indentation within namespaces, so replicate it. | ||
NamespaceIndentation: Inner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# This rule applies to all files which don't match another line below | ||
* text=auto | ||
* text=auto |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
pushd runtime-testsuite | ||
mvn -Dparallel=classes -DthreadCount=4 -Dtest=cpp.** test | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Appears not to be used at moment | ||
|
||
set -euo pipefail | ||
|
||
export PATH=$PATH:~/.dotnet | ||
|
||
# we need to build the runtime before test run, since we used "--no-dependencies" | ||
# when we call dotnet cli for restore and build, in order to speed up | ||
|
||
dotnet build -c Release -f netstandard2.0 runtime/CSharp/Antlr4.csproj | ||
|
||
# run tests | ||
pushd runtime-testsuite/ | ||
mvn -Dparallel=classes -DthreadCount=4 -Dtest=csharp.** test | ||
popd |
Oops, something went wrong.