question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

YAML 1.2 full support

See original GitHub issue

Текущий лексер yaml не полностью реализует стандарт https://yaml.org/spec/1.2/spec.html Вот один из примеров.

--- !<tag:clarkevans.com,2002:invoice>
invoice: 34843
date   : 2001-01-23
bill-to: &id001
    given  : Chris
    family : Dumars
    address:
        lines: |
            458 Walkman Dr.
            Suite #292
        city    : Royal Oak
        state   : MI
        postal  : 48046
ship-to: *id001
product:
    - sku         : BL394D
      quantity    : 4
      description : Basketball
      price       : 450.00
    - sku         : BL4438H
      quantity    : 1
      description : Super Hoop
      price       : 2392.00
tax  : 251.42
total: 4443.52
comments:
    Late afternoon is best.
    Backup contact is Nancy
    Billsmer @ 338-4338.

Согласен что вероятно такое довольно проблемно реализовать но думаю попытаться стоит.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Artem3213212commented, Feb 2, 2020

оно станет быстрее как только апи будет полностью на питоне у тебя постоянно везде возникают строки просто и в итоге получается что всё работает очень медленно я потом всё это пофикшу просто сейчас нет времени садиться и причёсывать километры кода да и делать это надо не мне одному(разыскивать все биндинги к апи та ещё морока)

0reactions
Alexey-Tcommented, Feb 2, 2020

Ну не думаю что лексеры на питон это ок (сам питон не станет быстрее, на файлах в 50Кб будет тормозить)

Read more comments on GitHub >

github_iconTop Results From Across the Web

YAML Ain't Markup Language (YAML™) revision 1.2.2
This specification is both an introduction to the YAML language and the concepts supporting it. It is also a complete specification of the ......
Read more >
YAML 1.2 support · Issue #116 · yaml/pyyaml - GitHub
I could start with creating the resolvers/constructors, so that they can already be loaded explicitly. Point 2 and especially 3 depend on if...
Read more >
YAML - Wikipedia
YAML is intended to be read and written in streams, a feature inspired by SAX. Support for reading and writing YAML is available...
Read more >
Engine with YAML 1.2 support is out ! - Google Groups
googlegroups.com. Hi all,. there is a new project which has a goal to support YAML 1.2. SnakeYAML Engine - https://bitbucket.org/asomov/snakeyaml-engine.
Read more >
YAML
Supports both YAML 1.1 and YAML 1.2 and all common data schemas, ... yaml: - A complete JavaScript implementation - https://www.npmjs.com/package/yaml.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found