GulfOfMexico icon indicating copy to clipboard operation
GulfOfMexico copied to clipboard

Update README.md

Open gabenugget opened this issue 1 year ago • 5 comments

Added extra stuff that standard DreamBerd users were begging for.

gabenugget avatar Jul 25 '24 10:07 gabenugget

I wonder if negative equals could be used in declarations

const const name ;= "Bob"!

print(name == "Bob")! // false
print(name == "Lu")! // maybe

TodePond avatar Aug 19 '24 11:08 TodePond

I wonder if negative equals could be used in declarations

const const name ;= "Bob"!

print(name == "Bob")! // false
print(name == "Lu")! // maybe

"But be careful, as ;= returns a error. Instead, use ≠, ≠≠, ≠≠≠ and ≠≠≠≠"

So it's

const const name ≠ "Bob"!

print(name == "Bob")! // false
print(name ≠ "Bob")! // true
print(name == "Lu")! // maybe

guigui0246 avatar Aug 19 '24 13:08 guigui0246

And of course:

var var name ≠ "Bob"!
name ≠≠ "Bob"!

print(name == "Bob")! // maybe
print(name ≠ "Bob")! // false
print(name == "Lu")! // maybe

guigui0246 avatar Aug 19 '24 13:08 guigui0246

Hear me out: ces: code execution speed. eg. ces = 0.05 runs 20 lines per second.

gabenugget avatar Aug 25 '24 07:08 gabenugget

For folders you could just do something like this:

===== /src/add.db =====
function add(a, b) => {
   return a + b!
}
export add to "../main.db"!
export add to "../misc"!

===== main.db =====
import add!

===== /misc/misc.db =====
import add!

===== /misc/test.db =====
import add!

(I think it's cleaner)

No because:

  • / is for division (six/two and three are the same so ===== six/two ===== and ===== three ===== are the same)
  • you need to put the folder name at every file

guigui0246 avatar Oct 03 '24 00:10 guigui0246