SkillAgentSearch skills...

Osc2checker

osc2checker is a grammar check tool for ASAM OpenSCENARIO 2 scenario files.

Install / Use

/learn @51WORLD/Osc2checker
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

51WORLD OpenSCENARIO2 Grammar Checker (osc2checker)

osc2checker is a grammar check tool for ASAM OpenSCENARIO 2 scenario files. It's implemented by ANTLR4 with ASAM OpenSCENARIO 2 EBNF PRC version.

Note: It is based on the current public review draft of the language - ASAM OpenSCENARIO V2.0.0-PRC.1, which is non-final.

Repository: https://github.com/51WORLD/osc2checker

Installation

Install JDK of Java (version 1.7 or higher)

How to use

Windows

check.bat yourOSCFileAbsolutePath

example:
check.bat %cd%\examples\cut_out.osc

UNIX

check.sh yourOSCFileAbsolutePath

example:
check.sh $PWD/examples/cut_out.osc
or
sh check.sh $PWD/examples/cut_out.osc

License

Copyright (C) 2018 - 2022 Beijing 51WORLD Digital Twin Technology Co., Ltd. , and/or its licensors. All rights reserved.

BSD 3-Clause

Related Skills

View on GitHub
GitHub Stars29
CategoryDevelopment
Updated3mo ago
Forks5

Languages

Java

Security Score

92/100

Audited on Dec 17, 2025

No findings