diff --git a/.github/assets/tur-tui.png b/.github/assets/tur-tui.png new file mode 100644 index 0000000..30d423e Binary files /dev/null and b/.github/assets/tur-tui.png differ diff --git a/.github/assets/tur-web.png b/.github/assets/tur-web.png new file mode 100644 index 0000000..39bbdd9 Binary files /dev/null and b/.github/assets/tur-web.png differ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6690e5..59298e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,6 @@ on: jobs: test: name: Test - if: false runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 0310dcc..f72dd32 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,25 @@ **Tur** is a language for defining and executing Turing machines, complete with parser, interpreter, and multi-platform visualization tools. + + + + + + + + + + + + + +
WebTUI
+ + + +
+ ## Language Overview Tur (`.tur` files) provides a clean, readable syntax for defining both single-tape and multi-tape Turing machines. The language includes: diff --git a/platforms/tui/src/app.rs b/platforms/tui/src/app.rs index 3832746..1f8af1e 100644 --- a/platforms/tui/src/app.rs +++ b/platforms/tui/src/app.rs @@ -4,7 +4,7 @@ use ratatui::{ layout::{Alignment, Constraint, Direction, Layout, Margin, Rect}, style::{Color, Modifier, Style}, text::{Line, Span, Text}, - widgets::{Block, Borders, List, ListItem, Padding, Paragraph, Wrap}, + widgets::{Block, BorderType, Borders, List, ListItem, Padding, Paragraph, Wrap}, Frame, }; use tur::{ @@ -490,6 +490,7 @@ fn section<'a>(title: &'a str, content: Vec>) -> Paragraph<'a> { fn block(title: &str) -> Block { Block::default() .borders(Borders::ALL) + .border_type(BorderType::Rounded) .title(format!(" {title} ")) .padding(BLOCK_PADDING) } diff --git a/platforms/web/index.html b/platforms/web/index.html index f2a3ac3..1432059 100644 --- a/platforms/web/index.html +++ b/platforms/web/index.html @@ -29,12 +29,28 @@ + + + + + + + + + + + + + + + +
GitHub stars - GitHub forks + Static Badge

diff --git a/platforms/web/styles.css b/platforms/web/styles.css index 563b620..4f01cd8 100644 --- a/platforms/web/styles.css +++ b/platforms/web/styles.css @@ -81,7 +81,7 @@ body { } .header h1 { - font-size: 2rem; + font-size: 1.6rem; font-weight: 500; letter-spacing: 0.5px; background: linear-gradient(45deg, var(--color-success), var(--color-primary));