Skip to content

Commit

Permalink
Structure, readme.
Browse files Browse the repository at this point in the history
Signed-off-by: mmazas <[email protected]>
  • Loading branch information
mmazas authored and mmazas committed Feb 11, 2025
1 parent e84d358 commit 7bb1564
Show file tree
Hide file tree
Showing 28 changed files with 310 additions and 168 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
#
# Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
# Copyright (c) 2024, Marc Mazas <[email protected]>.
# Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
# Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
BSD 3-Clause License

Copyright (c) 2020-2021, javacc
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
337 changes: 244 additions & 93 deletions README.md

Large diffs are not rendered by default.

37 changes: 14 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -93,7 +93,8 @@ THE POSSIBILITY OF SUCH DAMAGE.
<module>../javacc-8-java</module>
<module>../javacc-8-cpp</module>
<module>../javacc-8-csharp</module>
<module>../javacc-8-js</module>
<!-- still not fully functional -->
<!-- <module>../javacc-8-js</module>-->
</modules>

<scm>
Expand Down Expand Up @@ -404,7 +405,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
<build>
<pluginManagement>
<plugins>
<!-- TODO reorder & comment -->
<!-- TODO reorder & comment -->
<plugin>
<!-- copies the project artifacts to the user's local repository; usually implicit -->
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -486,13 +487,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
<version>2.7</version>
</plugin>
-->
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<version>3.10.1</version>
<!-- snapshot not published on sonatype snapshot repo!-->
<!-- <version>3.10.2-SNAPSHOT</version>-->
</plugin>
<plugin>
<groupId>org.javacc.plugin</groupId>
<artifactId>javacc-maven-plugin</artifactId>
Expand Down Expand Up @@ -559,6 +553,14 @@ THE POSSIBILITY OF SUCH DAMAGE.
<!-- <goal>select-jdk-toolchain</goal>-->
</goals>
</execution>
<execution>
<!--can be used to generate the toolchains.xml to stdout with:
mvn org.apache.maven.plugins:maven-toolchains-plugin:generate-jdk-toolchains-xml -->
<id>generate-tc</id>
<goals>
<goal>generate-jdk-toolchains-xml</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
Expand Down Expand Up @@ -588,18 +590,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
<artifactId>exec-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<executions>
<execution>
<configuration>
<commandLogLevel>3</commandLogLevel>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down Expand Up @@ -630,6 +620,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
<reporting>
<plugins>

<!-- don't know what this is for -->
<plugin>
<groupId>org.javacc.plugin</groupId>
<artifactId>javacc-maven-plugin</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions rulesets/java/maven-pmd-plugin-default.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/TestTokenManagerUsesParser/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/TestTokenManagerUsesParser2/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2006-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2006-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2006, Sun Microsystems, Inc.
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/exceptions/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2008-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2008-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2008, Paul Cager
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/exceptions/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/imports/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2007-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2007, Paul Cager
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/imports/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/javaFileGeneration/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2007-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2007, Paul Cager
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/javaFileGeneration/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/javaFiles/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2007-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2007, Paul Cager
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/javaFiles/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/javacodeLA/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2007-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2007, Paul Cager
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/javacodeLA/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/lineNumbers/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2006-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2006-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2006, Sun Microsystems, Inc.
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/lineNumbers/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/lom/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2007-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2007, Paul Cager
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/lom/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/newToken/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2007-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
Copyright (c) 2007, Paul Cager
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/newToken/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/java/exceptions/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/java/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions tests/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2024, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024, Marc Mazas <[email protected]>.
Copyright (c) 2020-2025, Sreeni Viswanadha <[email protected]>.
Copyright (c) 2024-2025, Marc Mazas <[email protected]>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down

0 comments on commit 7bb1564

Please sign in to comment.