l0n0lc 0.8.8__tar.gz → 0.8.9__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: l0n0lc
3
- Version: 0.8.8
3
+ Version: 0.8.9
4
4
  Summary: 一个将python函数翻译为c++函数并运行的jit编译器
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Requires-Python: >=3.10
@@ -234,43 +234,9 @@ vv: 1
234
234
  ## 4. 查看输出文件
235
235
  ```bash
236
236
  ls -al ./l0n0lcoutput
237
- total 160
238
- drwxr-xr-x 2 root root 4096 Sep 18 01:09 .
239
- drwxrwxrwx 11 1000 1000 4096 Sep 17 03:11 ..
240
- -rw-r--r-- 1 root root 96 Sep 18 01:05 helper_@a9eebb1639a5f08c.cpp
241
- -rw-r--r-- 1 root root 88 Sep 18 01:05 helper_@a9eebb1639a5f08c.h
242
- -rwxr-xr-x 1 root root 15600 Sep 18 01:05 helper_@a9eebb1639a5f08c.so
243
- -rw-r--r-- 1 root root 1693 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.cpp
244
- -rw-r--r-- 1 root root 167 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.h
245
- -rwxr-xr-x 1 root root 23520 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.so
246
- -rw-r--r-- 1 root root 1466 Sep 18 01:09 test_add_@122c4be59097d472.cpp
247
- -rw-r--r-- 1 root root 302 Sep 18 01:09 test_add_@122c4be59097d472.h
248
- -rwxr-xr-x 1 root root 40264 Sep 18 01:09 test_add_@122c4be59097d472.so
249
- -rw-r--r-- 1 root root 121 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.cpp
250
- -rw-r--r-- 1 root root 106 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.h
251
- -rwxr-xr-x 1 root root 15616 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.so
252
- -rw-r--r-- 1 root root 185 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.cpp
253
- -rw-r--r-- 1 root root 164 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.h
254
- -rwxr-xr-x 1 root root 15656 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.so
255
237
 
256
238
  ```
257
- ## 5. helper_@a9eebb1639a5f08c.cpp
258
- ```c++
259
- #include "helper_@a9eebb1639a5f08c.h"
260
- extern "C" int16_t helper (int16_t p)
261
- {
262
- return p * 2;
263
- }
264
-
265
- ```
266
- ## 6. helper_@a9eebb1639a5f08c.h
267
- ```c++
268
- #pragma once
269
- #include <cstdint>
270
- #include <string>
271
- extern "C" int16_t helper (int16_t p);
272
- ```
273
- ## 7. jit_all_ops_@0ec883892076cd03.cpp
239
+ ## 5. jit_all_ops_@0ec883892076cd03.cpp
274
240
  ```c++
275
241
  #include "jit_all_ops_@0ec883892076cd03.h"
276
242
  extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
@@ -367,7 +333,7 @@ extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
367
333
  }
368
334
 
369
335
  ```
370
- ## 8. jit_all_ops_@0ec883892076cd03.h
336
+ ## 6. jit_all_ops_@0ec883892076cd03.h
371
337
  ```c++
372
338
  #pragma once
373
339
  #include <cstdint>
@@ -377,7 +343,7 @@ extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
377
343
  #include <vector>
378
344
  extern "C" int16_t jit_all_ops (int16_t a, int16_t b);
379
345
  ```
380
- ## 9. test_add_@122c4be59097d472.cpp
346
+ ## 7. test_add_@122c4be59097d472.cpp
381
347
  ```c++
382
348
  #include "test_add_@122c4be59097d472.h"
383
349
  extern "C" int16_t test_add (int16_t a, int16_t b)
@@ -442,7 +408,7 @@ extern "C" int16_t test_add (int16_t a, int16_t b)
442
408
  }
443
409
 
444
410
  ```
445
- ## 10. test_add_@122c4be59097d472.h
411
+ ## 8. test_add_@122c4be59097d472.h
446
412
  ```c++
447
413
  #pragma once
448
414
  #include "jit_all_ops_@0ec883892076cd03.h"
@@ -455,7 +421,7 @@ extern "C" int16_t test_add (int16_t a, int16_t b)
455
421
  #include <unordered_map>
456
422
  extern "C" int16_t test_add (int16_t a, int16_t b);
457
423
  ```
458
- ## 11. test_other_fn_@75fdd928ab58a8e3.cpp
424
+ ## 9. test_other_fn_@75fdd928ab58a8e3.cpp
459
425
  ```c++
460
426
  #include "test_other_fn_@75fdd928ab58a8e3.h"
461
427
  extern "C" int16_t test_other_fn (int16_t a, int16_t b)
@@ -464,14 +430,14 @@ extern "C" int16_t test_other_fn (int16_t a, int16_t b)
464
430
  }
465
431
 
466
432
  ```
467
- ## 12. test_other_fn_@75fdd928ab58a8e3.h
433
+ ## 10. test_other_fn_@75fdd928ab58a8e3.h
468
434
  ```c++
469
435
  #pragma once
470
436
  #include <cstdint>
471
437
  #include <string>
472
438
  extern "C" int16_t test_other_fn (int16_t a, int16_t b);
473
439
  ```
474
- ## 13. test编译的函数_@3bf4501e0408a243.cpp
440
+ ## 11. test编译的函数_@3bf4501e0408a243.cpp
475
441
  ```c++
476
442
  #include "test编译的函数_@3bf4501e0408a243.h"
477
443
  extern "C" int16_t /*test编译的函数*/ function_74657374e7bc96e8af91e79a84e587bde695b0 (int16_t a, int16_t b)
@@ -480,7 +446,7 @@ extern "C" int16_t /*test编译的函数*/ function_74657374e7bc96e8af91e79a84e5
480
446
  }
481
447
 
482
448
  ```
483
- ## 14. test编译的函数_@3bf4501e0408a243.h
449
+ ## 12. test编译的函数_@3bf4501e0408a243.h
484
450
  ```c++
485
451
  #pragma once
486
452
  #include <cstdint>
@@ -224,43 +224,9 @@ vv: 1
224
224
  ## 4. 查看输出文件
225
225
  ```bash
226
226
  ls -al ./l0n0lcoutput
227
- total 160
228
- drwxr-xr-x 2 root root 4096 Sep 18 01:09 .
229
- drwxrwxrwx 11 1000 1000 4096 Sep 17 03:11 ..
230
- -rw-r--r-- 1 root root 96 Sep 18 01:05 helper_@a9eebb1639a5f08c.cpp
231
- -rw-r--r-- 1 root root 88 Sep 18 01:05 helper_@a9eebb1639a5f08c.h
232
- -rwxr-xr-x 1 root root 15600 Sep 18 01:05 helper_@a9eebb1639a5f08c.so
233
- -rw-r--r-- 1 root root 1693 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.cpp
234
- -rw-r--r-- 1 root root 167 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.h
235
- -rwxr-xr-x 1 root root 23520 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.so
236
- -rw-r--r-- 1 root root 1466 Sep 18 01:09 test_add_@122c4be59097d472.cpp
237
- -rw-r--r-- 1 root root 302 Sep 18 01:09 test_add_@122c4be59097d472.h
238
- -rwxr-xr-x 1 root root 40264 Sep 18 01:09 test_add_@122c4be59097d472.so
239
- -rw-r--r-- 1 root root 121 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.cpp
240
- -rw-r--r-- 1 root root 106 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.h
241
- -rwxr-xr-x 1 root root 15616 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.so
242
- -rw-r--r-- 1 root root 185 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.cpp
243
- -rw-r--r-- 1 root root 164 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.h
244
- -rwxr-xr-x 1 root root 15656 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.so
245
227
 
246
228
  ```
247
- ## 5. helper_@a9eebb1639a5f08c.cpp
248
- ```c++
249
- #include "helper_@a9eebb1639a5f08c.h"
250
- extern "C" int16_t helper (int16_t p)
251
- {
252
- return p * 2;
253
- }
254
-
255
- ```
256
- ## 6. helper_@a9eebb1639a5f08c.h
257
- ```c++
258
- #pragma once
259
- #include <cstdint>
260
- #include <string>
261
- extern "C" int16_t helper (int16_t p);
262
- ```
263
- ## 7. jit_all_ops_@0ec883892076cd03.cpp
229
+ ## 5. jit_all_ops_@0ec883892076cd03.cpp
264
230
  ```c++
265
231
  #include "jit_all_ops_@0ec883892076cd03.h"
266
232
  extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
@@ -357,7 +323,7 @@ extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
357
323
  }
358
324
 
359
325
  ```
360
- ## 8. jit_all_ops_@0ec883892076cd03.h
326
+ ## 6. jit_all_ops_@0ec883892076cd03.h
361
327
  ```c++
362
328
  #pragma once
363
329
  #include <cstdint>
@@ -367,7 +333,7 @@ extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
367
333
  #include <vector>
368
334
  extern "C" int16_t jit_all_ops (int16_t a, int16_t b);
369
335
  ```
370
- ## 9. test_add_@122c4be59097d472.cpp
336
+ ## 7. test_add_@122c4be59097d472.cpp
371
337
  ```c++
372
338
  #include "test_add_@122c4be59097d472.h"
373
339
  extern "C" int16_t test_add (int16_t a, int16_t b)
@@ -432,7 +398,7 @@ extern "C" int16_t test_add (int16_t a, int16_t b)
432
398
  }
433
399
 
434
400
  ```
435
- ## 10. test_add_@122c4be59097d472.h
401
+ ## 8. test_add_@122c4be59097d472.h
436
402
  ```c++
437
403
  #pragma once
438
404
  #include "jit_all_ops_@0ec883892076cd03.h"
@@ -445,7 +411,7 @@ extern "C" int16_t test_add (int16_t a, int16_t b)
445
411
  #include <unordered_map>
446
412
  extern "C" int16_t test_add (int16_t a, int16_t b);
447
413
  ```
448
- ## 11. test_other_fn_@75fdd928ab58a8e3.cpp
414
+ ## 9. test_other_fn_@75fdd928ab58a8e3.cpp
449
415
  ```c++
450
416
  #include "test_other_fn_@75fdd928ab58a8e3.h"
451
417
  extern "C" int16_t test_other_fn (int16_t a, int16_t b)
@@ -454,14 +420,14 @@ extern "C" int16_t test_other_fn (int16_t a, int16_t b)
454
420
  }
455
421
 
456
422
  ```
457
- ## 12. test_other_fn_@75fdd928ab58a8e3.h
423
+ ## 10. test_other_fn_@75fdd928ab58a8e3.h
458
424
  ```c++
459
425
  #pragma once
460
426
  #include <cstdint>
461
427
  #include <string>
462
428
  extern "C" int16_t test_other_fn (int16_t a, int16_t b);
463
429
  ```
464
- ## 13. test编译的函数_@3bf4501e0408a243.cpp
430
+ ## 11. test编译的函数_@3bf4501e0408a243.cpp
465
431
  ```c++
466
432
  #include "test编译的函数_@3bf4501e0408a243.h"
467
433
  extern "C" int16_t /*test编译的函数*/ function_74657374e7bc96e8af91e79a84e587bde695b0 (int16_t a, int16_t b)
@@ -470,7 +436,7 @@ extern "C" int16_t /*test编译的函数*/ function_74657374e7bc96e8af91e79a84e5
470
436
  }
471
437
 
472
438
  ```
473
- ## 14. test编译的函数_@3bf4501e0408a243.h
439
+ ## 12. test编译的函数_@3bf4501e0408a243.h
474
440
  ```c++
475
441
  #pragma once
476
442
  #include <cstdint>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: l0n0lc
3
- Version: 0.8.8
3
+ Version: 0.8.9
4
4
  Summary: 一个将python函数翻译为c++函数并运行的jit编译器
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Requires-Python: >=3.10
@@ -234,43 +234,9 @@ vv: 1
234
234
  ## 4. 查看输出文件
235
235
  ```bash
236
236
  ls -al ./l0n0lcoutput
237
- total 160
238
- drwxr-xr-x 2 root root 4096 Sep 18 01:09 .
239
- drwxrwxrwx 11 1000 1000 4096 Sep 17 03:11 ..
240
- -rw-r--r-- 1 root root 96 Sep 18 01:05 helper_@a9eebb1639a5f08c.cpp
241
- -rw-r--r-- 1 root root 88 Sep 18 01:05 helper_@a9eebb1639a5f08c.h
242
- -rwxr-xr-x 1 root root 15600 Sep 18 01:05 helper_@a9eebb1639a5f08c.so
243
- -rw-r--r-- 1 root root 1693 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.cpp
244
- -rw-r--r-- 1 root root 167 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.h
245
- -rwxr-xr-x 1 root root 23520 Sep 18 01:09 jit_all_ops_@0ec883892076cd03.so
246
- -rw-r--r-- 1 root root 1466 Sep 18 01:09 test_add_@122c4be59097d472.cpp
247
- -rw-r--r-- 1 root root 302 Sep 18 01:09 test_add_@122c4be59097d472.h
248
- -rwxr-xr-x 1 root root 40264 Sep 18 01:09 test_add_@122c4be59097d472.so
249
- -rw-r--r-- 1 root root 121 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.cpp
250
- -rw-r--r-- 1 root root 106 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.h
251
- -rwxr-xr-x 1 root root 15616 Sep 18 01:09 test_other_fn_@75fdd928ab58a8e3.so
252
- -rw-r--r-- 1 root root 185 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.cpp
253
- -rw-r--r-- 1 root root 164 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.h
254
- -rwxr-xr-x 1 root root 15656 Sep 18 01:07 test编译的函数_@3bf4501e0408a243.so
255
237
 
256
238
  ```
257
- ## 5. helper_@a9eebb1639a5f08c.cpp
258
- ```c++
259
- #include "helper_@a9eebb1639a5f08c.h"
260
- extern "C" int16_t helper (int16_t p)
261
- {
262
- return p * 2;
263
- }
264
-
265
- ```
266
- ## 6. helper_@a9eebb1639a5f08c.h
267
- ```c++
268
- #pragma once
269
- #include <cstdint>
270
- #include <string>
271
- extern "C" int16_t helper (int16_t p);
272
- ```
273
- ## 7. jit_all_ops_@0ec883892076cd03.cpp
239
+ ## 5. jit_all_ops_@0ec883892076cd03.cpp
274
240
  ```c++
275
241
  #include "jit_all_ops_@0ec883892076cd03.h"
276
242
  extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
@@ -367,7 +333,7 @@ extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
367
333
  }
368
334
 
369
335
  ```
370
- ## 8. jit_all_ops_@0ec883892076cd03.h
336
+ ## 6. jit_all_ops_@0ec883892076cd03.h
371
337
  ```c++
372
338
  #pragma once
373
339
  #include <cstdint>
@@ -377,7 +343,7 @@ extern "C" int16_t jit_all_ops (int16_t a, int16_t b)
377
343
  #include <vector>
378
344
  extern "C" int16_t jit_all_ops (int16_t a, int16_t b);
379
345
  ```
380
- ## 9. test_add_@122c4be59097d472.cpp
346
+ ## 7. test_add_@122c4be59097d472.cpp
381
347
  ```c++
382
348
  #include "test_add_@122c4be59097d472.h"
383
349
  extern "C" int16_t test_add (int16_t a, int16_t b)
@@ -442,7 +408,7 @@ extern "C" int16_t test_add (int16_t a, int16_t b)
442
408
  }
443
409
 
444
410
  ```
445
- ## 10. test_add_@122c4be59097d472.h
411
+ ## 8. test_add_@122c4be59097d472.h
446
412
  ```c++
447
413
  #pragma once
448
414
  #include "jit_all_ops_@0ec883892076cd03.h"
@@ -455,7 +421,7 @@ extern "C" int16_t test_add (int16_t a, int16_t b)
455
421
  #include <unordered_map>
456
422
  extern "C" int16_t test_add (int16_t a, int16_t b);
457
423
  ```
458
- ## 11. test_other_fn_@75fdd928ab58a8e3.cpp
424
+ ## 9. test_other_fn_@75fdd928ab58a8e3.cpp
459
425
  ```c++
460
426
  #include "test_other_fn_@75fdd928ab58a8e3.h"
461
427
  extern "C" int16_t test_other_fn (int16_t a, int16_t b)
@@ -464,14 +430,14 @@ extern "C" int16_t test_other_fn (int16_t a, int16_t b)
464
430
  }
465
431
 
466
432
  ```
467
- ## 12. test_other_fn_@75fdd928ab58a8e3.h
433
+ ## 10. test_other_fn_@75fdd928ab58a8e3.h
468
434
  ```c++
469
435
  #pragma once
470
436
  #include <cstdint>
471
437
  #include <string>
472
438
  extern "C" int16_t test_other_fn (int16_t a, int16_t b);
473
439
  ```
474
- ## 13. test编译的函数_@3bf4501e0408a243.cpp
440
+ ## 11. test编译的函数_@3bf4501e0408a243.cpp
475
441
  ```c++
476
442
  #include "test编译的函数_@3bf4501e0408a243.h"
477
443
  extern "C" int16_t /*test编译的函数*/ function_74657374e7bc96e8af91e79a84e587bde695b0 (int16_t a, int16_t b)
@@ -480,7 +446,7 @@ extern "C" int16_t /*test编译的函数*/ function_74657374e7bc96e8af91e79a84e5
480
446
  }
481
447
 
482
448
  ```
483
- ## 14. test编译的函数_@3bf4501e0408a243.h
449
+ ## 12. test编译的函数_@3bf4501e0408a243.h
484
450
  ```c++
485
451
  #pragma once
486
452
  #include <cstdint>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "l0n0lc"
3
- version = "0.8.8"
3
+ version = "0.8.9"
4
4
  description = "一个将python函数翻译为c++函数并运行的jit编译器"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes