Skip to content

Commit

Permalink
new blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
JaDogg committed Dec 22, 2023
1 parent 79f12ad commit 82d4e71
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
4 changes: 3 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ export default defineConfig({
markdown: {
shikiConfig: {
wrap: true,
gfm: true,
smartypants: true,
langs: [{
name: 'yaksha',
scopeName: 'source.yaksha',
...yakshaGrammar
}, "c", "bash", "scheme", "python"]
}, "c", "bash", "scheme", "python", "lisp"]
}
}
});
35 changes: 35 additions & 0 deletions src/pages/blog/0002_another_site_update.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Yet another site update
author: Bhathiya Perera
pubDate: 2023-12-22
layout: '../../layouts/BlogPostLayout.astro'
---

import Note from '../../components/Note.astro';

# General update

## Astro / Tailwindcss / DaisyUi

Thanks to [GDWR](https://github.com/GDWR) and [fisher60](https://github.com/fisher60) from [AbandonTech](https://abandontech.cloud), Yaksha webiste is now recreated with Astro. 🎉

<Note mode="mascot">
* Astro allow you to build pages with `.md` and `.mdx` files.
* You can also create components similar to React.
* Tailwindcss is the new kid on the block when it comes to a CSS framework. However, unlike bootstrap it is basically a CSS framework.
* DaisyUI - UI components built on top of Tailwindcss.
</Note>

😮‍💨 No more CSS (pain) for me. Thank you very much. 🤣

## v0.0.5 is out

v0.0.5 was released recently with plenty of new features.

* `sr` data type is a game changer with the ability to encapsulate `string literals`, `sds strings (not copied)`, `c strings`
* Number auto cast from smaller numbers to larger.
* String auto cast and default to internal compile time `:s:` string literal data type whenever posible.
* MacOS binaries are now built with github actions.


You can read more [here](https://github.com/YakshaLang/Yaksha/releases/tag/v0.0.5)
2 changes: 1 addition & 1 deletion src/pages/docs/0001-features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def main() -> int:
```

Output:
```text
```plaintext
Hello World
All done
```
Expand Down
2 changes: 1 addition & 1 deletion src/pages/yama/0010_number_auto_widening.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Assignment would follow same casting style, except lhs needs to be wider.

Bitwise operations would require manual casting to same data type.

```text
```plaintext
.-------------.
| bool |
'.-----------.'
Expand Down

0 comments on commit 82d4e71

Please sign in to comment.