objective-lol 0.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- objective_lol-0.0.10/MANIFEST.in +5 -0
- objective_lol-0.0.10/PKG-INFO +196 -0
- objective_lol-0.0.10/README.md +178 -0
- objective_lol-0.0.10/__init__.py +5 -0
- objective_lol-0.0.10/_go_src/LICENSE +21 -0
- objective_lol-0.0.10/_go_src/go.mod +34 -0
- objective_lol-0.0.10/_go_src/go.sum +54 -0
- objective_lol-0.0.10/_go_src/pkg/api/compat.go +252 -0
- objective_lol-0.0.10/_go_src/pkg/api/config.go +55 -0
- objective_lol-0.0.10/_go_src/pkg/api/convert.go +258 -0
- objective_lol-0.0.10/_go_src/pkg/api/errors.go +152 -0
- objective_lol-0.0.10/_go_src/pkg/api/result.go +15 -0
- objective_lol-0.0.10/_go_src/pkg/api/value.go +156 -0
- objective_lol-0.0.10/_go_src/pkg/api/vm.go +604 -0
- objective_lol-0.0.10/_go_src/pkg/ast/nodes.go +476 -0
- objective_lol-0.0.10/_go_src/pkg/environment/class.go +230 -0
- objective_lol-0.0.10/_go_src/pkg/environment/environment.go +331 -0
- objective_lol-0.0.10/_go_src/pkg/environment/errors.go +17 -0
- objective_lol-0.0.10/_go_src/pkg/environment/object.go +131 -0
- objective_lol-0.0.10/_go_src/pkg/environment/value.go +445 -0
- objective_lol-0.0.10/_go_src/pkg/interpreter/interpreter.go +1262 -0
- objective_lol-0.0.10/_go_src/pkg/modules/resolver.go +207 -0
- objective_lol-0.0.10/_go_src/pkg/parser/lexer.go +672 -0
- objective_lol-0.0.10/_go_src/pkg/parser/parser.go +1587 -0
- objective_lol-0.0.10/_go_src/pkg/runtime/runtime.go +63 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/arrays.go +702 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/cache.go +1426 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/config.go +150 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/file.go +1388 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/http.go +1404 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/io.go +1809 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/maps.go +610 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/math.go +905 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/process.go +1967 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/random.go +684 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/socket.go +1414 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/stdio.go +203 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/string.go +448 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/system.go +734 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/test.go +88 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/thread.go +590 -0
- objective_lol-0.0.10/_go_src/pkg/stdlib/time.go +259 -0
- objective_lol-0.0.10/objective_lol.egg-info/PKG-INFO +196 -0
- objective_lol-0.0.10/objective_lol.egg-info/SOURCES.txt +49 -0
- objective_lol-0.0.10/objective_lol.egg-info/dependency_links.txt +1 -0
- objective_lol-0.0.10/objective_lol.egg-info/top_level.txt +1 -0
- objective_lol-0.0.10/olol.py +636 -0
- objective_lol-0.0.10/pyproject.toml +7 -0
- objective_lol-0.0.10/setup.cfg +4 -0
- objective_lol-0.0.10/setup.py +504 -0
- objective_lol-0.0.10/smoke_test.py +46 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: objective_lol
|
|
3
|
+
Version: 0.0.10
|
|
4
|
+
Summary: Python bindings for Objective-LOL
|
|
5
|
+
Home-page: https://github.com/bjia56/objective-lol
|
|
6
|
+
Author: Brett Jia
|
|
7
|
+
Author-email: dev.bjia56@gmail.com
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Dynamic: author
|
|
12
|
+
Dynamic: author-email
|
|
13
|
+
Dynamic: classifier
|
|
14
|
+
Dynamic: description
|
|
15
|
+
Dynamic: description-content-type
|
|
16
|
+
Dynamic: home-page
|
|
17
|
+
Dynamic: summary
|
|
18
|
+
|
|
19
|
+
# Objective-LOL Python Bindings
|
|
20
|
+
|
|
21
|
+
Python bindings for the Objective-LOL programming language - a modern, strongly-typed language inspired by LOLCODE.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install objective-lol
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Quick Start
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
import objective_lol as olol
|
|
33
|
+
|
|
34
|
+
# Create a VM instance
|
|
35
|
+
vm = olol.ObjectiveLOLVM()
|
|
36
|
+
|
|
37
|
+
# Execute Objective-LOL code
|
|
38
|
+
code = """
|
|
39
|
+
I CAN HAS STDIO?
|
|
40
|
+
HAI ME TEH FUNCSHUN MAIN
|
|
41
|
+
I HAS A VARIABLE X TEH INTEGR ITZ 42
|
|
42
|
+
SAYZ WIT X
|
|
43
|
+
KTHXBAI
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
vm.execute(code) # Prints: 42
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Features
|
|
50
|
+
|
|
51
|
+
- **Execute Objective-LOL code**: Run complete programs or code snippets
|
|
52
|
+
- **Python integration**: Call Python functions from Objective-LOL and vice versa
|
|
53
|
+
- **Type conversion**: Automatic conversion between Python and Objective-LOL types
|
|
54
|
+
- **Module system**: Import and use custom modules
|
|
55
|
+
- **Class definitions**: Define and use classes from Python
|
|
56
|
+
|
|
57
|
+
## Advanced Usage
|
|
58
|
+
|
|
59
|
+
### Defining Python Functions for Objective-LOL
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
vm = olol.ObjectiveLOLVM()
|
|
63
|
+
|
|
64
|
+
def add_numbers(a, b):
|
|
65
|
+
return a + b
|
|
66
|
+
|
|
67
|
+
vm.define_function("add_numbers", add_numbers)
|
|
68
|
+
|
|
69
|
+
code = """
|
|
70
|
+
I CAN HAS STDIO?
|
|
71
|
+
HAI ME TEH FUNCSHUN MAIN
|
|
72
|
+
I HAS A VARIABLE RESULT TEH INTEGR ITZ add_numbers WIT 10 AN WIT 20
|
|
73
|
+
SAYZ WIT RESULT
|
|
74
|
+
KTHXBAI
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
vm.execute(code) # Prints: 30
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Working with Classes
|
|
81
|
+
|
|
82
|
+
```python
|
|
83
|
+
vm = olol.ObjectiveLOLVM()
|
|
84
|
+
|
|
85
|
+
class Calculator:
|
|
86
|
+
def add(self, x, y):
|
|
87
|
+
return x + y
|
|
88
|
+
|
|
89
|
+
def multiply(self, x, y):
|
|
90
|
+
return x * y
|
|
91
|
+
|
|
92
|
+
vm.define_class(Calculator)
|
|
93
|
+
|
|
94
|
+
code = """
|
|
95
|
+
I CAN HAS STDIO?
|
|
96
|
+
HAI ME TEH FUNCSHUN MAIN
|
|
97
|
+
I HAS A VARIABLE CALC TEH Calculator ITZ NEW Calculator
|
|
98
|
+
I HAS A VARIABLE SUM TEH INTEGR ITZ CALC DO add WIT 5 AN WIT 3
|
|
99
|
+
SAYZ WIT SUM
|
|
100
|
+
KTHXBAI
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
vm.execute(code) # Prints: 8
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Type Mapping
|
|
107
|
+
|
|
108
|
+
| Objective-LOL Type | Python Type |
|
|
109
|
+
|-------------------|-------------|
|
|
110
|
+
| INTEGR | int |
|
|
111
|
+
| DUBBLE | float |
|
|
112
|
+
| STRIN | str |
|
|
113
|
+
| BOOL | bool |
|
|
114
|
+
| NOTHIN | None |
|
|
115
|
+
| BUKKIT (array) | list |
|
|
116
|
+
| BASKIT (map) | dict |
|
|
117
|
+
|
|
118
|
+
## Links
|
|
119
|
+
|
|
120
|
+
- [Main Project](https://github.com/bjia56/objective-lol)
|
|
121
|
+
- [Language Documentation](https://github.com/bjia56/objective-lol/tree/main/docs)
|
|
122
|
+
|
|
123
|
+
## License
|
|
124
|
+
|
|
125
|
+
MIT License
|
|
126
|
+
|
|
127
|
+
## Changelog
|
|
128
|
+
|
|
129
|
+
### [0.0.10] - 2026-11-26
|
|
130
|
+
|
|
131
|
+
#### Added
|
|
132
|
+
- GraalPy 3.12 and 3.13 wheels (Linux and macOS; 3.13 on macOS is arm64 only)
|
|
133
|
+
- Source distribution on PyPI, bundling the Go sources
|
|
134
|
+
|
|
135
|
+
#### Fixed
|
|
136
|
+
- Incomplete expressions and declarations no longer produce invalid syntax tree nodes
|
|
137
|
+
|
|
138
|
+
### [0.0.9] - 2026-05-01
|
|
139
|
+
|
|
140
|
+
#### Fixed
|
|
141
|
+
- Fixed incorrect serialization of unknown function handler return values
|
|
142
|
+
|
|
143
|
+
### [0.0.8] - 2026-04-30
|
|
144
|
+
|
|
145
|
+
#### Changed
|
|
146
|
+
- Class member variable type annotations are now optional, allowing dynamic typing consistent with global and local variable declarations
|
|
147
|
+
|
|
148
|
+
### [0.0.7] - 2026-04-30
|
|
149
|
+
|
|
150
|
+
#### Changed
|
|
151
|
+
- Proxy methods now determine their async/sync interface based on whether the VM was initialized with an asyncio loop, rather than inspecting the wrapped method's own async signature
|
|
152
|
+
- Error messages from Python callbacks now include the exception type (e.g. `ValueError: ...` instead of just the message text)
|
|
153
|
+
|
|
154
|
+
#### Fixed
|
|
155
|
+
- Member variable getter errors are now propagated as interpreter exceptions instead of being silently swallowed
|
|
156
|
+
- Function and method call failure messages now include the function/method name for easier debugging
|
|
157
|
+
|
|
158
|
+
### [0.0.6] - 2026-04-30
|
|
159
|
+
|
|
160
|
+
#### Changed
|
|
161
|
+
- Refactored asyncio threading shims into factory methods (`_run_in_loop`, `_run_blocking`, `_make_loop_method_wrapper`, `_make_loop_wrapper`) to eliminate duplicated thread+Future patterns
|
|
162
|
+
- Getter and setter registrations now route through the asyncio event loop when one is provided, consistent with method dispatch
|
|
163
|
+
|
|
164
|
+
### [0.0.5] - 2026-04-29
|
|
165
|
+
|
|
166
|
+
#### Changed
|
|
167
|
+
- Replaced `prefer_async_loop` with an explicit `asyncio_loop` to specify which event loop to use
|
|
168
|
+
- Changed interop of sync Python methods to be called within the asyncio loop, if one is provided
|
|
169
|
+
- Changed interop of async Python methods to require an asyncio loop
|
|
170
|
+
|
|
171
|
+
### [0.0.4] - 2026-04-29
|
|
172
|
+
|
|
173
|
+
#### Added
|
|
174
|
+
- Added a mechanism to specify the working directory of the Objective-LOL interpreter from Python at initialization time
|
|
175
|
+
|
|
176
|
+
#### Fixed
|
|
177
|
+
- Fixed interop of setting primitive values on Python objects from within Objective-LOL
|
|
178
|
+
|
|
179
|
+
### [0.0.3] - 2026-03-24
|
|
180
|
+
|
|
181
|
+
#### Fixed
|
|
182
|
+
- Fixed interop of nested lists and dicts between Python and Objective-LOL
|
|
183
|
+
|
|
184
|
+
### [0.0.2] - 2025-09-16
|
|
185
|
+
|
|
186
|
+
#### Changed
|
|
187
|
+
- Modified octal prefix from `0` to `0o`
|
|
188
|
+
|
|
189
|
+
#### Fixed
|
|
190
|
+
- Fixed a stack corruption crash on Windows by using compatibility function calls with separate goroutines
|
|
191
|
+
|
|
192
|
+
### [0.0.1] - 2025-09-14
|
|
193
|
+
|
|
194
|
+
#### Added
|
|
195
|
+
- Initial Python bindings for Objective-LOL interpreter
|
|
196
|
+
- Pre-built wheels for Windows, macOS, and Linux for Python 3.9+
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# Objective-LOL Python Bindings
|
|
2
|
+
|
|
3
|
+
Python bindings for the Objective-LOL programming language - a modern, strongly-typed language inspired by LOLCODE.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install objective-lol
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
import objective_lol as olol
|
|
15
|
+
|
|
16
|
+
# Create a VM instance
|
|
17
|
+
vm = olol.ObjectiveLOLVM()
|
|
18
|
+
|
|
19
|
+
# Execute Objective-LOL code
|
|
20
|
+
code = """
|
|
21
|
+
I CAN HAS STDIO?
|
|
22
|
+
HAI ME TEH FUNCSHUN MAIN
|
|
23
|
+
I HAS A VARIABLE X TEH INTEGR ITZ 42
|
|
24
|
+
SAYZ WIT X
|
|
25
|
+
KTHXBAI
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
vm.execute(code) # Prints: 42
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Features
|
|
32
|
+
|
|
33
|
+
- **Execute Objective-LOL code**: Run complete programs or code snippets
|
|
34
|
+
- **Python integration**: Call Python functions from Objective-LOL and vice versa
|
|
35
|
+
- **Type conversion**: Automatic conversion between Python and Objective-LOL types
|
|
36
|
+
- **Module system**: Import and use custom modules
|
|
37
|
+
- **Class definitions**: Define and use classes from Python
|
|
38
|
+
|
|
39
|
+
## Advanced Usage
|
|
40
|
+
|
|
41
|
+
### Defining Python Functions for Objective-LOL
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
vm = olol.ObjectiveLOLVM()
|
|
45
|
+
|
|
46
|
+
def add_numbers(a, b):
|
|
47
|
+
return a + b
|
|
48
|
+
|
|
49
|
+
vm.define_function("add_numbers", add_numbers)
|
|
50
|
+
|
|
51
|
+
code = """
|
|
52
|
+
I CAN HAS STDIO?
|
|
53
|
+
HAI ME TEH FUNCSHUN MAIN
|
|
54
|
+
I HAS A VARIABLE RESULT TEH INTEGR ITZ add_numbers WIT 10 AN WIT 20
|
|
55
|
+
SAYZ WIT RESULT
|
|
56
|
+
KTHXBAI
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
vm.execute(code) # Prints: 30
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Working with Classes
|
|
63
|
+
|
|
64
|
+
```python
|
|
65
|
+
vm = olol.ObjectiveLOLVM()
|
|
66
|
+
|
|
67
|
+
class Calculator:
|
|
68
|
+
def add(self, x, y):
|
|
69
|
+
return x + y
|
|
70
|
+
|
|
71
|
+
def multiply(self, x, y):
|
|
72
|
+
return x * y
|
|
73
|
+
|
|
74
|
+
vm.define_class(Calculator)
|
|
75
|
+
|
|
76
|
+
code = """
|
|
77
|
+
I CAN HAS STDIO?
|
|
78
|
+
HAI ME TEH FUNCSHUN MAIN
|
|
79
|
+
I HAS A VARIABLE CALC TEH Calculator ITZ NEW Calculator
|
|
80
|
+
I HAS A VARIABLE SUM TEH INTEGR ITZ CALC DO add WIT 5 AN WIT 3
|
|
81
|
+
SAYZ WIT SUM
|
|
82
|
+
KTHXBAI
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
vm.execute(code) # Prints: 8
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Type Mapping
|
|
89
|
+
|
|
90
|
+
| Objective-LOL Type | Python Type |
|
|
91
|
+
|-------------------|-------------|
|
|
92
|
+
| INTEGR | int |
|
|
93
|
+
| DUBBLE | float |
|
|
94
|
+
| STRIN | str |
|
|
95
|
+
| BOOL | bool |
|
|
96
|
+
| NOTHIN | None |
|
|
97
|
+
| BUKKIT (array) | list |
|
|
98
|
+
| BASKIT (map) | dict |
|
|
99
|
+
|
|
100
|
+
## Links
|
|
101
|
+
|
|
102
|
+
- [Main Project](https://github.com/bjia56/objective-lol)
|
|
103
|
+
- [Language Documentation](https://github.com/bjia56/objective-lol/tree/main/docs)
|
|
104
|
+
|
|
105
|
+
## License
|
|
106
|
+
|
|
107
|
+
MIT License
|
|
108
|
+
|
|
109
|
+
## Changelog
|
|
110
|
+
|
|
111
|
+
### [0.0.10] - 2026-11-26
|
|
112
|
+
|
|
113
|
+
#### Added
|
|
114
|
+
- GraalPy 3.12 and 3.13 wheels (Linux and macOS; 3.13 on macOS is arm64 only)
|
|
115
|
+
- Source distribution on PyPI, bundling the Go sources
|
|
116
|
+
|
|
117
|
+
#### Fixed
|
|
118
|
+
- Incomplete expressions and declarations no longer produce invalid syntax tree nodes
|
|
119
|
+
|
|
120
|
+
### [0.0.9] - 2026-05-01
|
|
121
|
+
|
|
122
|
+
#### Fixed
|
|
123
|
+
- Fixed incorrect serialization of unknown function handler return values
|
|
124
|
+
|
|
125
|
+
### [0.0.8] - 2026-04-30
|
|
126
|
+
|
|
127
|
+
#### Changed
|
|
128
|
+
- Class member variable type annotations are now optional, allowing dynamic typing consistent with global and local variable declarations
|
|
129
|
+
|
|
130
|
+
### [0.0.7] - 2026-04-30
|
|
131
|
+
|
|
132
|
+
#### Changed
|
|
133
|
+
- Proxy methods now determine their async/sync interface based on whether the VM was initialized with an asyncio loop, rather than inspecting the wrapped method's own async signature
|
|
134
|
+
- Error messages from Python callbacks now include the exception type (e.g. `ValueError: ...` instead of just the message text)
|
|
135
|
+
|
|
136
|
+
#### Fixed
|
|
137
|
+
- Member variable getter errors are now propagated as interpreter exceptions instead of being silently swallowed
|
|
138
|
+
- Function and method call failure messages now include the function/method name for easier debugging
|
|
139
|
+
|
|
140
|
+
### [0.0.6] - 2026-04-30
|
|
141
|
+
|
|
142
|
+
#### Changed
|
|
143
|
+
- Refactored asyncio threading shims into factory methods (`_run_in_loop`, `_run_blocking`, `_make_loop_method_wrapper`, `_make_loop_wrapper`) to eliminate duplicated thread+Future patterns
|
|
144
|
+
- Getter and setter registrations now route through the asyncio event loop when one is provided, consistent with method dispatch
|
|
145
|
+
|
|
146
|
+
### [0.0.5] - 2026-04-29
|
|
147
|
+
|
|
148
|
+
#### Changed
|
|
149
|
+
- Replaced `prefer_async_loop` with an explicit `asyncio_loop` to specify which event loop to use
|
|
150
|
+
- Changed interop of sync Python methods to be called within the asyncio loop, if one is provided
|
|
151
|
+
- Changed interop of async Python methods to require an asyncio loop
|
|
152
|
+
|
|
153
|
+
### [0.0.4] - 2026-04-29
|
|
154
|
+
|
|
155
|
+
#### Added
|
|
156
|
+
- Added a mechanism to specify the working directory of the Objective-LOL interpreter from Python at initialization time
|
|
157
|
+
|
|
158
|
+
#### Fixed
|
|
159
|
+
- Fixed interop of setting primitive values on Python objects from within Objective-LOL
|
|
160
|
+
|
|
161
|
+
### [0.0.3] - 2026-03-24
|
|
162
|
+
|
|
163
|
+
#### Fixed
|
|
164
|
+
- Fixed interop of nested lists and dicts between Python and Objective-LOL
|
|
165
|
+
|
|
166
|
+
### [0.0.2] - 2025-09-16
|
|
167
|
+
|
|
168
|
+
#### Changed
|
|
169
|
+
- Modified octal prefix from `0` to `0o`
|
|
170
|
+
|
|
171
|
+
#### Fixed
|
|
172
|
+
- Fixed a stack corruption crash on Windows by using compatibility function calls with separate goroutines
|
|
173
|
+
|
|
174
|
+
### [0.0.1] - 2025-09-14
|
|
175
|
+
|
|
176
|
+
#### Added
|
|
177
|
+
- Initial Python bindings for Objective-LOL interpreter
|
|
178
|
+
- Pre-built wheels for Windows, macOS, and Linux for Python 3.9+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Brett Jia
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
module github.com/bjia56/objective-lol
|
|
2
|
+
|
|
3
|
+
go 1.21
|
|
4
|
+
|
|
5
|
+
require (
|
|
6
|
+
github.com/davecgh/go-spew v1.1.1
|
|
7
|
+
github.com/go-python/gopy v0.4.10
|
|
8
|
+
github.com/hashicorp/golang-lru v0.5.1
|
|
9
|
+
github.com/stretchr/testify v1.9.0
|
|
10
|
+
github.com/tliron/glsp v0.2.2
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
require (
|
|
14
|
+
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
15
|
+
github.com/gorilla/websocket v1.5.1 // indirect
|
|
16
|
+
github.com/iancoleman/strcase v0.3.0 // indirect
|
|
17
|
+
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
18
|
+
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
19
|
+
github.com/mattn/go-runewidth v0.0.14 // indirect
|
|
20
|
+
github.com/muesli/termenv v0.15.2 // indirect
|
|
21
|
+
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
|
|
22
|
+
github.com/pkg/errors v0.9.1 // indirect
|
|
23
|
+
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
24
|
+
github.com/rivo/uniseg v0.2.0 // indirect
|
|
25
|
+
github.com/sasha-s/go-deadlock v0.3.1 // indirect
|
|
26
|
+
github.com/sourcegraph/jsonrpc2 v0.2.0 // indirect
|
|
27
|
+
github.com/tliron/commonlog v0.2.8 // indirect
|
|
28
|
+
github.com/tliron/kutil v0.3.13 // indirect
|
|
29
|
+
golang.org/x/crypto v0.16.0 // indirect
|
|
30
|
+
golang.org/x/net v0.17.0 // indirect
|
|
31
|
+
golang.org/x/sys v0.15.0 // indirect
|
|
32
|
+
golang.org/x/term v0.15.0 // indirect
|
|
33
|
+
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
34
|
+
)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
|
|
2
|
+
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
|
|
3
|
+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
|
4
|
+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
|
5
|
+
github.com/go-python/gopy v0.4.10 h1:Ec3x+NTSzLsw9f6FTdDLwQCQlmlNmJIu4J6nSnyugqE=
|
|
6
|
+
github.com/go-python/gopy v0.4.10/go.mod h1:zMV/gSSYa9u/8Zp0WYR+L/z+kOIqIUtMg/a1/GRy5uw=
|
|
7
|
+
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
|
8
|
+
github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY=
|
|
9
|
+
github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY=
|
|
10
|
+
github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=
|
|
11
|
+
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
|
|
12
|
+
github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI=
|
|
13
|
+
github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
|
|
14
|
+
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
|
|
15
|
+
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
|
|
16
|
+
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
|
|
17
|
+
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
|
18
|
+
github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU=
|
|
19
|
+
github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
|
|
20
|
+
github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo=
|
|
21
|
+
github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8=
|
|
22
|
+
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 h1:q2e307iGHPdTGp0hoxKjt1H5pDo6utceo3dQVK3I5XQ=
|
|
23
|
+
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o=
|
|
24
|
+
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
|
|
25
|
+
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
|
26
|
+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
|
27
|
+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
|
28
|
+
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
|
|
29
|
+
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
|
30
|
+
github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0=
|
|
31
|
+
github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM=
|
|
32
|
+
github.com/sourcegraph/jsonrpc2 v0.2.0 h1:KjN/dC4fP6aN9030MZCJs9WQbTOjWHhrtKVpzzSrr/U=
|
|
33
|
+
github.com/sourcegraph/jsonrpc2 v0.2.0/go.mod h1:ZafdZgk/axhT1cvZAPOhw+95nz2I/Ra5qMlU4gTRwIo=
|
|
34
|
+
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
|
|
35
|
+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
|
36
|
+
github.com/tliron/commonlog v0.2.8 h1:vpKrEsZX4nlneC9673pXpeKqv3cFLxwpzNEZF1qiaQQ=
|
|
37
|
+
github.com/tliron/commonlog v0.2.8/go.mod h1:HgQZrJEuiKLLRvUixtPWGcmTmWWtKkCtywF6x9X5Spw=
|
|
38
|
+
github.com/tliron/glsp v0.2.2 h1:IKPfwpE8Lu8yB6Dayta+IyRMAbTVunudeauEgjXBt+c=
|
|
39
|
+
github.com/tliron/glsp v0.2.2/go.mod h1:GMVWDNeODxHzmDPvYbYTCs7yHVaEATfYtXiYJ9w1nBg=
|
|
40
|
+
github.com/tliron/kutil v0.3.13 h1:hB2k7zWYhuuQ8pqJ6Gu/LxDw8UUnjBlhBbwUt5rUiSs=
|
|
41
|
+
github.com/tliron/kutil v0.3.13/go.mod h1:sazY84VhpRez9rFf6ajtZBdpThJ/OIVL7Mue6GC/rds=
|
|
42
|
+
golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY=
|
|
43
|
+
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
|
|
44
|
+
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
|
|
45
|
+
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
|
|
46
|
+
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
47
|
+
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
|
|
48
|
+
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
|
49
|
+
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
|
|
50
|
+
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
|
|
51
|
+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
|
|
52
|
+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
|
53
|
+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
|
54
|
+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|