Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ Most [No-code or Low-code](https://en.wikipedia.org/wiki/Low-code_development_pl

Ako tries to fill the gap by providing at the same time:
* A [visual programming interface](https://github.com/ako-lang/ako-editor) for beginners
* A programming language for more advanced users but easy to learn
* An interpreter designed to run almost anywhere

* A programming language for more advanced users but easy to learn
* Automatic common error detection with code analysis and human friendly error message

# Getting Started

Expand Down
84 changes: 39 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"package:linux": "cd dist && nexe --input=./ako-cli.js --output=./bin/ako-linux --target=linux-12.12.0",
"dev": "mocha ./tests/**/*.test.ts --recursive --reporter mochawesome",
"test": "run-s test:*",
"test:depencencies": "npm-check --production || echo \"Run 'npm run update' to interactively update dependencies for this project\"",
"test:depencencies": "npm-check --production --skip-unused || echo \"Run 'npm run update' to interactively update dependencies for this project\"",
"test:unit-test": "mocha ./tests/**/*.test.ts --recursive",
"test:lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
"test:prettier": "prettier --check \"src/**/*.ts\"",
Expand All @@ -57,8 +57,8 @@
"devDependencies": {
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"esbuild": "^0.11.20",
"esbuild-register": "^2.5.0",
"eslint": "^7.26.0",
Expand All @@ -70,7 +70,10 @@
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"ohm-js": "^15.5.0",
"prettier": "^2.2.1",
"prettier": "^2.3.0",
"typescript": "^4.2.4"
},
"dependencies": {
"chalk": "^4.1.1"
}
}
3 changes: 2 additions & 1 deletion samples/main.ako
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ fibo15 = @fibo(15)
task DelayMessage ["msg"] {
@print("Hum")
for i in [3,2,1] {
@sleep(1)
@sleep(250)
@print(String.repeat(".", i))
@sleep(250)
}
@print(msg)
}
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion samples/vec/main.ako
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
for countdown in [5,4,3,2,1,0] {
if countdown > 0 {
@print("{countdown} !")
@sleep(0.1)
@sleep(250)
} else {
@print("Countdown Finish !")
}
Expand Down
File renamed without changes.
Loading