21 Commits

Author SHA1 Message Date
Joao Paulo Magalhaes
0881aa241c event-based parser policy pt3: samples and tools 2024-05-05 18:52:11 +02:00
Joao Paulo Magalhaes
8a72a97025 CI: update workflow actions 2024-04-12 22:25:40 +01:00
Joao Paulo Magalhaes
6fe06404a6 [ci] disable creation of python packages for Windows (except 3.6/3.7) and MacOSX
Here's an example log of the problem for Windows:
see https://github.com/biojppm/rapidyaml/actions/runs/3686238289/jobs/6238204139

```
+ pip install -v dist/rapidyaml-0.4.1.post139-cp311-cp311-win_amd64.whl
Using pip 22.3.1 from C:\hostedtoolcache\windows\Python\3.11.0\x64\Lib\site-packages\pip (python 3.11)
Processing d:\a\rapidyaml\rapidyaml\dist\rapidyaml-0.4.1.post139-cp311-cp311-win_amd64.whl
Installing collected packages: rapidyaml
Successfully installed rapidyaml-0.4.1.post139
+ pip show -f rapidyaml
Name: rapidyaml
Version: 0.4.1.post139
Summary: Rapid YAML - a library to parse and emit YAML, and do it fast
Home-page: https://github.com/biojppm/rapidyaml
Author: Joao Paulo Magalhaes
Author-email: dev@jpmag.me
License: MIT
Location: C:\hostedtoolcache\windows\Python\3.11.0\x64\Lib\site-packages
Requires:
Required-by:
Files:
  rapidyaml-0.4.1.post139.dist-info\INSTALLER
  rapidyaml-0.4.1.post139.dist-info\LICENSE.txt
  rapidyaml-0.4.1.post139.dist-info\METADATA
  rapidyaml-0.4.1.post139.dist-info\RECORD
  rapidyaml-0.4.1.post139.dist-info\REQUESTED
  rapidyaml-0.4.1.post139.dist-info\WHEEL
  rapidyaml-0.4.1.post139.dist-info\direct_url.json
  rapidyaml-0.4.1.post139.dist-info\top_level.txt
  ryml\__init__.py
  ryml\__pycache__\__init__.cpython-311.pyc
  ryml\__pycache__\ryml.cpython-311.pyc
  ryml\__pycache__\version.cpython-311.pyc
  ryml\_ryml.pyd
  ryml\ryml.py
  ryml\tests\__pycache__\parse_bm.cpython-311.pyc
  ryml\tests\__pycache__\test_parse.cpython-311.pyc
  ryml\tests\parse_bm.py
  ryml\tests\test_parse.py
  ryml\version.py
+ python -c 'import ryml'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\hostedtoolcache\windows\Python\3.11.0\x64\Lib\site-packages\ryml\__init__.py", line 1, in <module>
    from ryml.ryml import *
  File "C:\hostedtoolcache\windows\Python\3.11.0\x64\Lib\site-packages\ryml\ryml.py", line 13, in <module>
    from . import _ryml
ImportError: DLL load failed while importing _ryml: The specified module could not be found.
Error: Process completed with exit code 1.
```
2022-12-15 10:56:19 +00:00
Joao Paulo Magalhaes
1558853a63 [impl] add amalgamation into single header file 2021-12-28 11:46:27 +00:00
Joao Paulo Magalhaes
da837e07cf [tidy] python packaging 2021-09-18 14:14:32 +01:00
Joao Paulo Magalhaes
e17f2cbdbf [tidy] whitespace fixes and expose coverage misses 2021-09-15 19:44:10 +01:00
Joao Paulo Magalhaes
6060d031c6 [impl] add gdb visualizers 2021-06-24 11:46:19 +01:00
Joao Paulo Magalhaes
ebb31e8316 chg: update c4core:
* substr::contains() -> is_super()
* fmt API cleanup
* charconv cleanup
* documentation cleanup
2020-12-05 22:18:07 +00:00
Joao Paulo Magalhaes
628074d113 fix narrowing conversion: biojppm/c4core#13 2020-06-17 19:56:58 +01:00
Joao Paulo Magalhaes
b7293b4f8e json: fix emission of special values in keys, re #72 2020-06-05 00:00:19 +01:00
Joao Paulo Magalhaes
d798b24b03 re #60: improve scanning of plain (unquoted) scalars [squash]
$# This is a combination of 5 commits.

re #60: improve scanning of plain (unquoted) scalars
re #60: improve handling of plain scalars
re #60: allow blank non-indented lines in plain scalars
re #60: plain scalar parsing: fix handling of multiple blank lines
parsing of plain scalars: minor cleanup
2020-05-10 23:44:31 +02:00
Joao Paulo Magalhaes
98a28d55f1 re #54: whitespace before semicolon 2020-04-25 21:57:06 +02:00
Joao Paulo Magalhaes
d6f6bd2956 add preprocessor: relaxed maps (with implicit top-level bools) 2020-04-19 22:19:06 +02:00
Joao Paulo Magalhaes
8df7124186 Clarify algorithmic complexity of child lookups. Fixes #49 2020-04-11 03:12:15 +02:00
Joao Paulo Magalhaes
e31d75265e implement installs. first go, still a little rough. 2019-12-08 17:07:33 +01:00
Joao Paulo Magalhaes
cc93bf0ba1 update c4core 2019-10-19 19:00:30 +01:00
Joao Paulo Magalhaes
d2fc9a47a5 [ci skip] ignore compile_commands.json 2019-02-24 18:16:42 +00:00
Joao Paulo Magalhaes
1125f6da85 add yaml-test-suite:
currently 60% failed tests! gonna have fun times ahead.
2019-02-22 01:40:56 +00:00
Joao Paulo Magalhaes
5593d086db ignore vagrant files 2018-02-10 14:48:28 +00:00
Joao Paulo Magalhaes
4747e3d2d9 indentation jump 2018-01-14 13:40:03 +00:00
Joao Paulo Magalhaes
3c7ab257a7 First commit. Parses a tree, but only names and values are set. 2018-01-04 09:54:00 +00:00