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

Remove redundant source code from go runtime #4155

Merged
merged 2 commits into from
Mar 5, 2023
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
13 changes: 13 additions & 0 deletions doc/go-target.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# ANTLR4 Language Target, Runtime for Go

### Removal of non v4 module

Prior to the release of the v4 tagged runtime, the source code for the Go runtime module existed at the root of
`runtime/Go/antlr`, which is the pre-v4 version of the code, and under `runtime/Go/antlr/v4`. If your project
was not using modules, you could merely sync to the latest hash in the master branch and use the code,

As of now, you can still use the code without modules, but you must use the code under the `/v4` directory and
not the code at the runtime root. This is for historic reasons as the code was originally written before modules were a
thing and the go runtime source was (and still is) part of the monorepo that is `antlr/antlr4`.

We strongly advise you to use modules, and to use the /v4 version of the source code, though it is not required. See
below for more information.

### First steps

#### 1. Install ANTLR4
Expand Down
26 changes: 0 additions & 26 deletions runtime/Go/antlr/LICENSE

This file was deleted.

4 changes: 4 additions & 0 deletions runtime/Go/antlr/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Migration to v4 from non tagged code

Please note that the source code that was previously located here is now located in the `/v4` subdirectory to accommodate
go modules. If you are not using modules, then use the code in the `/v4` subdirectory from here on out.
68 changes: 0 additions & 68 deletions runtime/Go/antlr/antlrdoc.go

This file was deleted.

176 changes: 0 additions & 176 deletions runtime/Go/antlr/atn.go

This file was deleted.

Loading