l0n0lc 0.8.8__py3-none-any.whl → 0.8.9__py3-none-any.whl

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>
@@ -5,8 +5,8 @@ l0n0lc/c基础处理.py,sha256=ata-iQTp64kM0Ea_ktfQhaGPrejRzls3YZ7GcnjRlqE,5723
5
5
  l0n0lc/jit.py,sha256=UG5CwhmtD9BJWWiWreFxDCTCFgKgjSOqREhaZuW3sBU,25619
6
6
  l0n0lc/编译.py,sha256=Ty4gPDHAB1jn8LgnE4w3R06bOAEeYr8iwqahYf6QeHI,2154
7
7
  l0n0lc/通用.py,sha256=RkqP9cMhKhl2h4YxOpAWFFftIPXLZTYMyOOD1PuB59M,4630
8
- l0n0lc-0.8.8.dist-info/licenses/LICENSE,sha256=1L-MAjulZ3kpbYwsJtlXpDVITRxykna2Ecg_521YfkA,1093
9
- l0n0lc-0.8.8.dist-info/METADATA,sha256=Dtn6HX9s4q8gr22r3070KzipY3saxyxC9xNy9P8rTwA,10451
10
- l0n0lc-0.8.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
- l0n0lc-0.8.8.dist-info/top_level.txt,sha256=Q21D_eEY_-xgRUPwATGp9YDKSBO4w_7MI2MYxQI1aT4,7
12
- l0n0lc-0.8.8.dist-info/RECORD,,
8
+ l0n0lc-0.8.9.dist-info/licenses/LICENSE,sha256=1L-MAjulZ3kpbYwsJtlXpDVITRxykna2Ecg_521YfkA,1093
9
+ l0n0lc-0.8.9.dist-info/METADATA,sha256=-R8zwl0NhatjTkk-hIdyeNHOk6MuUEUwIe_0Eq4pdAI,8926
10
+ l0n0lc-0.8.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ l0n0lc-0.8.9.dist-info/top_level.txt,sha256=Q21D_eEY_-xgRUPwATGp9YDKSBO4w_7MI2MYxQI1aT4,7
12
+ l0n0lc-0.8.9.dist-info/RECORD,,
File without changes