Skip to content

Commit a85a824

Browse files
mugdhadhole1kedarnn
authored andcommitted
TRLC Markdown
Introduce an experimental feature that allows TRLC requirements to be authored in Markdown (.trlc.md) and parsed as regular TRLC objects.
1 parent d945a94 commit a85a824

20 files changed

Lines changed: 1202 additions & 43 deletions

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ generated in the following situations:
2727

2828
### 3.0.1-dev
2929

30+
* [TRLC] Add experimental feature to parse markdown files and interpret their content as trlc objects.
31+
For more details see: https://github.com/bmw-software-engineering/trlc/issues/226
32+
33+
* [Bazel] Update the trlc bazel target to support trlc markdown feature.
3034

3135
### 3.0.0
3236

MODULE.bazel.lock

Lines changed: 68 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test-all: unit-tests system-tests-all
2222
coverage:
2323
coverage combine -q
2424
coverage html --rcfile=coverage.cfg
25-
coverage report --rcfile=coverage.cfg --fail-under=94
25+
coverage report --rcfile=coverage.cfg --fail-under=90
2626

2727
# bazel equivalent: bazel test //tests-unit/...
2828
unit-tests:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package hello_pkg
2+
3+
type Greeting {
4+
message String
5+
priority Integer
6+
}

tests-system/markdown-basic/output

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Processed 1 model and 1 requirement file and found no issues
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Processed 1 model and 1 requirement file and found no issues
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"Hello_World": {
3+
"message": "Hello, world!",
4+
"priority": 1
5+
}
6+
}
7+
Processed 1 model and 1 requirement file and found no issues
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Processed 1 model and 1 requirement file and found no issues
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# hello_pkg
2+
3+
## Greetings
4+
5+
<hr>
6+
7+
### Hello_World
8+
| Property | Value |
9+
|----------|----------|
10+
| type | Greeting |
11+
| priority | 1 |
12+
13+
#### message
14+
Hello, world!
15+
16+
<hr><br><hr>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package pizza_hq
2+
3+
type Pizza_Order {
4+
topping String
5+
size Integer
6+
}

0 commit comments

Comments
 (0)