Skip to content

Commit

Permalink
feat: add VS Code extension installation and cleanup commands
Browse files Browse the repository at this point in the history
  • Loading branch information
zestones committed Jan 5, 2025
1 parent 2b84644 commit 9ae32bc
Show file tree
Hide file tree
Showing 62 changed files with 58 additions and 85 deletions.
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ install:
sudo apt install flex bison
sudo apt install doxygen

extension-install:
@if [ -d ~/.vscode/extensions/ ]; then \
cp -r extensions/* ~/.vscode/extensions/; \
fi
@if [ -d ~/.vscode-server/extensions/ ]; then \
cp -r extensions/* ~/.vscode-server/extensions/; \
fi

docs:
doxygen Doxyfile

Expand Down Expand Up @@ -117,4 +125,10 @@ clean: simple-clean
rm -f argoc argov $(BIN_DIR)/*.tab.c $(BIN_DIR)/*.tab.h $(BIN_DIR)/lex.yy.c && \
rm -rf tests/**/__pycache__
rm -rf ./.pytest_cache/
rm -f log.txt
rm -f log.txt

extension-clean:
rm -rf ~/.vscode/extensions/custom-icons
rm -rf ~/.vscode-server/extensions/custom-icons
rm -rf ~/.vscode/extensions/syntax-highlighting
rm -rf ~/.vscode-server/extensions/syntax-highlighting
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
```txt
_ _
/ \ _ __ __ _ ___ _ __ __ _ _ _| |_
/ _ \ | '__/ _` |/ _ \| '_ \ / _` | | | | __|
/ ___ \| | | (_| | (_) | | | | (_| | |_| | |_
/_/ \_\_| \__, |\___/|_| |_|\__,_|\__,_|\__|
|___/
<div align="center">
<img src="./extensions/custom-icons/icons/icon.png" alt="Argonaut">
</div>

```
---

This project is a compiler for the CPYRR programming language, which is a simple language designed for educational purposes. The compiler is implemented in C and uses the YACC parser generator to parse the language grammar. It generates an abstract syntax tree (AST) from the parsed program and interprets the AST using a virtual machine.
This project is a compiler for the Argonaut programming language, which is a simple language designed for educational purposes. The compiler is implemented in C and uses the YACC parser generator to parse the language grammar. It generates an abstract syntax tree (AST) from the parsed program and interprets the AST using a virtual machine.

## Notes

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ var fib : int;
var fib_1 : int;
var fib_2 : int;


func fibonacci(num : int) -> int {
var i: int;
if (num <= 1) { return num; }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions extensions/custom-icons/icons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"iconDefinitions": {
"arnFile": {
"iconPath": "./icons/logo.png"
}
},
"fileExtensions": {
"arn": "arnFile"
},
"light": {
"fileExtensions": {
"arn": "arnFile"
}
},
"dark": {
"fileExtensions": {
"arn": "arnFile"
}
}
}
Binary file added extensions/custom-icons/icons/Group 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/custom-icons/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/custom-icons/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions extensions/custom-icons/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "custom-icons",
"displayName": "Argonaut Custom Icon",
"publisher": "zestones",
"version": "1.0.0",
"engines": {
"vscode": "^1.75.0"
},
"categories": ["Themes"],
"contributes": {
"iconThemes": [
{
"id": "custom-icons",
"label": "Custom Icons",
"path": "./icons.json"
}
]
}
}
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions syntax-highlighting/CHANGELOG.md

This file was deleted.

65 changes: 0 additions & 65 deletions syntax-highlighting/README.md

This file was deleted.

0 comments on commit 9ae32bc

Please sign in to comment.