Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Инструкция по переносу DSL #6

Open
sergiomarotco opened this issue Feb 21, 2024 · 2 comments
Open

Инструкция по переносу DSL #6

sergiomarotco opened this issue Feb 21, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@sergiomarotco
Copy link
Contributor

sergiomarotco commented Feb 21, 2024

Привет! Перенес Information Exposure Through an Error Message.json
в PT AI так:
image
Словил ошибки:

  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input '{' expecting {Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [1,1..2).
  • Строка1
  • Колонка1
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ':' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [2,10..11).
  • Строка2
  • Колонка10
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ',' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [2,59..60).
  • Строка2
  • Колонка59
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ':' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [3,16..17).
  • Строка3
  • Колонка16
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ',' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [3,26..27).
  • Строка3
  • Колонка26
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ':' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [4,17..18).
  • Строка4
  • Колонка17
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ',' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [4,24..25).
  • Строка4
  • Колонка24
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ':' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [5,12..13).
  • Строка5
  • Колонка12
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ',' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [5,35..36).
  • Строка5
  • Колонка35
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input ':' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [6,23..24).
  • Строка6
  • Колонка23
  • Pattern edc9498f-686f-4e2c-8eb8-c284ca1f5caa ParsingException: extraneous input '}' expecting {, Comment, Null, Bool, 'new', 'try', 'function', 'class', 'field', 'return', 'throw', 'base', '#', Ellipsis, '(', '<[', '<~>', '<{', Id, String, Oct, Int, Hex} at [7,1..2).
  • Строка7
  • Колонка1

Так как правильно переносить правила? Также прошу вас разместить инструкцию в основном readme.md о том как переносить.

@vldF vldF added the documentation Improvements or additions to documentation label Feb 26, 2024
@vldF
Copy link
Collaborator

vldF commented Feb 26, 2024

Я же верно понимаю, что issue больше не про вашу конкретную проблему (потому что, судя по чату, Вы уже давно пользуетесь правилами, да и два PRа говорят про то же), а про то, чтобы мы добавили инструкцию про то, как поля из JSON описания правила соотносятся с полями в UI?

@sergiomarotco
Copy link
Contributor Author

@vldF Владислав, верно.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants