Updated README.md with new content
This commit is contained in:
parent
4e934fc5b8
commit
1d625f84f1
1 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
# crud-lang
|
# crud-lang
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Why?
|
## Why?
|
||||||
1. Existing languages are just fine, but building web services is >always< bolted on, instead of supported out-of-the-box.
|
1. Existing languages are just fine, but building web services is >always< bolted on, instead of supported out-of-the-box.
|
||||||
2. Whereas every company needs an API these days.
|
2. Whereas every company needs an API these days.
|
||||||
|
|
@ -48,7 +50,7 @@ I cherry picked things I like, mostly from rust and python.
|
||||||
* string: "hello world"
|
* string: "hello world"
|
||||||
* uuid ,
|
* uuid ,
|
||||||
* bool: true, false
|
* bool: true, false
|
||||||
* char '.'
|
* char '. '
|
||||||
* object: {field: value}. An object is a map with fixed keys that are strings.
|
* object: {field: value}. An object is a map with fixed keys that are strings.
|
||||||
* enum
|
* enum
|
||||||
* date
|
* date
|
||||||
|
|
@ -143,7 +145,8 @@ let a:u32 = 42
|
||||||
|
|
||||||
* All variables are mutable right now. Have not come to a decision yet about mutable vs immutable variables.
|
* All variables are mutable right now. Have not come to a decision yet about mutable vs immutable variables.
|
||||||
* You must declare a variable before using it. Block scoping.
|
* You must declare a variable before using it. Block scoping.
|
||||||
* There is no ```null```. There is ```void``` though.
|
* There is no ```null```.
|
||||||
|
There is ```void``` though.
|
||||||
* You must initialize a variable when declaring it.
|
* You must initialize a variable when declaring it.
|
||||||
|
|
||||||
**strings**
|
**strings**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue