Allow custom syntax inside binary operator expressions.

This commit is contained in:
Stephen Chung
2021-12-16 16:06:44 +08:00
parent 93e3c4c10a
commit 224aa0ea68
6 changed files with 71 additions and 37 deletions

View File

@@ -79,7 +79,7 @@ The [`scripts`](https://github.com/rhaiscript/rhai/tree/master/scripts) subdirec
Below is the standard _Fibonacci_ example for scripting languages:
```js
```ts
// This Rhai script calculates the n-th Fibonacci number using a
// really dumb algorithm to test the speed of the scripting engine.