Skip to content

Commit

Permalink
Big Update, read CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zedritsch committed Dec 6, 2023
1 parent 9b9c546 commit 2f2acba
Show file tree
Hide file tree
Showing 15 changed files with 168 additions and 418 deletions.
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Directories
.vscode
examples
test

# Files
.gitignore
Expand Down
24 changes: 20 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# Change Log
# Changelog

All notable changes to the "laye-vscode" extension will be documented in this file.
## v0.1.2

## [Unreleased]
### Additions

- Initial release
* `@see` and `@deprecated` annotation in doc-comments
* `tokens.laye` example

### Changes

* Adapted *new* `laye` syntax
* Refactored grammar for more readability and faster parsing
* Reduced file sizes
* Renamed `examples` to `test`

## v0.1.1

Bug fixes

## v0.1.0

Initial release
32 changes: 4 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,12 @@ Find on [GitHub](https://github.com/laye-lang/laye-vscode) or [Local's Personal

Laye is a programming language designed to be used alongside C. Where many languages aim to be a C replacement, Laye instead wants to co-exist in its own unique manner. This relationship is so important that the Laye compiler, `layec`, is also a C compiler.

## Features

Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.

For example if there is an image subfolder under your extension project workspace:

\!\[feature X\]\(images/feature-x.png\)

> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
<!--
## Requirements
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
This is a VS Code extension, which is developed along with the [Laye](https://github.com/laye-lang/laye) compiler creation [series](https://www.youtube.com/@nashiora/videos) by [Local](https://www.youtube.com/@nashiora).

## Extension Settings
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
For example:
This extension contributes the following settings:
- `myExtension.enable`: enable/disable this extension
- `myExtension.thing`: set to `blah` to do something
## Known Issues
## Features

Calling out known issues can help limit users opening duplicate issues against your extension.
-->
* Basic syntax highlighting
* Icons for `.laye` files

## Contributing

Expand Down
116 changes: 0 additions & 116 deletions examples/bootloader.laye

This file was deleted.

20 changes: 4 additions & 16 deletions language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"open": "/*",
"close": "*/",
"notIn": [ "string", "comment" ]
"notIn": [ "string" ]
},
{
"open": "'",
Expand All @@ -35,19 +35,7 @@
[ "\"", "\"" ],
[ "(", ")" ],
[ "[", "]" ],
[ "{", "}" ]
],
"autoCloseBefore": "=?; \t\n",
"folding": {
"offSide": true,
"markers": {
"start": "(\\(|\\[|\\{)",
"end": "(\\)|\\]|\\})"
}
},
"wordPattern": "\\b[a-zA-Z0-9_]+\\b",
"indentationRules": {
"increaseIndentPattern": "(?=[\\(\\[\\{]).\\s*$",
"decreaseIndentPattern": "(?<![\\(\\[\\{].*)(?=[\\)\\]\\}]).\\s*$"
}
[ "{", "}" ],
[ "<", ">" ]
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Laye support for Visual Studio Code",
"publisher": "laye-lang",
"license": "MIT",
"version": "0.1.1",
"version": "0.1.2",
"icon": "images/icon.png",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 2f2acba

Please sign in to comment.