Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GPTGrammarParsing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noah Heuser
GPTGrammarParsing
Commits
a56bfe51
Commit
a56bfe51
authored
1 year ago
by
Noah Heuser
Browse files
Options
Downloads
Patches
Plain Diff
added JSON Library to project
parent
80a8ed9b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChatGPTParsing/.classpath
+6
-1
6 additions, 1 deletion
ChatGPTParsing/.classpath
ChatGPTParsing/src/json/GrammarToJSON.java
+15
-0
15 additions, 0 deletions
ChatGPTParsing/src/json/GrammarToJSON.java
ChatGPTParsing/src/module-info.java
+1
-0
1 addition, 0 deletions
ChatGPTParsing/src/module-info.java
with
22 additions
and
1 deletion
ChatGPTParsing/.classpath
+
6
−
1
View file @
a56bfe51
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpath>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
>
<attributes>
<attributes>
<attribute
name=
"module"
value=
"true"
/>
<attribute
name=
"module"
value=
"true"
/>
</attributes>
</attributes>
</classpathentry>
</classpathentry>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"lib"
path=
"D:/Downloads/json-20140107.jar"
>
<attributes>
<attribute
name=
"module"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"output"
path=
"bin"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
</classpath>
</classpath>
This diff is collapsed.
Click to expand it.
ChatGPTParsing/src/json/GrammarToJSON.java
0 → 100644
+
15
−
0
View file @
a56bfe51
package
json
;
import
java.util.List
;
import
java.util.Map
;
import
org.json.JSONArray
;
public
class
GrammarToJSON
{
private
String
createJSONGrammar
(
Map
<
String
,
List
<
List
<
String
>>>
rules
)
{
JSONArray
var
=
new
JSONArray
();
return
var
.
toString
();
}
}
This diff is collapsed.
Click to expand it.
ChatGPTParsing/src/module-info.java
+
1
−
0
View file @
a56bfe51
module
GrammarGenerator
{
module
GrammarGenerator
{
requires
json
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment