Browse Source

The standalone parser is now licensed under MPL2 (instead of GPL) (Issue #507)

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.8.2
Erez Sh 5 years ago
parent
commit
9ec9acf115
3 changed files with 73 additions and 69 deletions
  1. +1
    -1
      README.md
  2. +65
    -50
      examples/standalone/json_parser.py
  3. +7
    -18
      lark/tools/standalone.py

+ 1
- 1
README.md View File

@@ -176,7 +176,7 @@ You can use the output as a regular python module:


Lark uses the [MIT license](LICENSE). Lark uses the [MIT license](LICENSE).


(The standalone tool is under GPL2)
(The standalone tool is under MPL2)


## Contribute ## Contribute




+ 65
- 50
examples/standalone/json_parser.py
File diff suppressed because it is too large
View File


+ 7
- 18
lark/tools/standalone.py View File

@@ -11,27 +11,16 @@
# #
# >>> LICENSE # >>> LICENSE
# #
# This tool and its generated code use a separate license from Lark.
#
# It is licensed under GPLv2 or above.
# This tool and its generated code use a separate license from Lark,
# and are subject to the terms of the Mozilla Public License, v. 2.0.
# If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
# #
# If you wish to purchase a commercial license for this tool and its # If you wish to purchase a commercial license for this tool and its
# generated code, contact me via email.
#
# If GPL is incompatible with your free or open-source project,
# contact me and we'll work it out (for free).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# generated code, you may contact me via email or otherwise.
# #
# See <http://www.gnu.org/licenses/>.
# If MPL2 is incompatible with your free or open-source project,
# contact me and we'll work it out.
# #
# #




Loading…
Cancel
Save