DreamBerd icon indicating copy to clipboard operation
DreamBerd copied to clipboard

CRAZY NEW FEATURE 2023: SCS

Open aaarkid opened this issue 1 year ago • 2 comments

SCS: Selective-Case-Sensitivity

Here's how it works:

DreamBerd would be case insensitive on certain days of the week and case sensitive on others. For instance:

  • Monday: All Words should be in Sentence case. It's the start of the week, let's start things off proper!
  • Tuesday to Friday: words should be in lower case. We're in the groove of the week now, let's keep things chill!
  • Saturday and Sunday: WoRdS can be in any case, it's the weekend after all, let's go wild!

Example:

monday: Print("Hello world!")!
tuesday: print("Hello world!")!
saturday: PRINT("Hello world!")!

Always keep in mind the time changes on runtime so on a Monday you can write code like this:

Print("Hello!")!
Date.Now() -= 3600000!
PRINT("NOW IT'S SUNDAY!")!!!

aaarkid avatar Jun 23 '23 18:06 aaarkid

Related: #121

stohrendorf avatar Jun 23 '23 18:06 stohrendorf

Interesting feature idea! I'm actually making a language like this called DreamLang, will try to add that feature.

I assume if that happens, though, then the program must run for days. The language needs to be fast for this to happen. I am designing DreamLang to be fast.

Not sure if DreamBerd is fast. Is it fast @TodePond?

gooddavvy avatar Jun 25 '23 18:06 gooddavvy

Interesting feature idea! I'm actually making a language like this called DreamLang, will try to add that feature.

Please note that The Foundation owns the project DreamLang, consider renaming

gabrielchl avatar Jun 25 '23 18:06 gabrielchl

Not sure if DreamBerd is fast. Is it fast @TodePond?

No, not until we add the vroom keyword #150

TodePond avatar Jun 25 '23 18:06 TodePond

@gabrielchl Whoa there are so many names for programming languages that are already taken!

gooddavvy avatar Jun 25 '23 20:06 gooddavvy

@TodePond So vroom is for concurrency, right?

gooddavvy avatar Jun 25 '23 20:06 gooddavvy

@TodePond So vroom is for concurrency, right?

I missed the original issue where vroom was proposed but I assume it leverages some unique language feature to directly manipulate the BIOS and overclock the processor. Also since its syntax permits variable length vroom's (e.g. vroooooooom const const val = 2!), it could reorder the call stack with vroom length determining priority of execution. The issue of statements depending on sequential execution is then easily resolved with negative lifetimes. Cheers!

denim02 avatar Jul 12 '23 09:07 denim02

@denim02 I'd assume that vroom parses the line in lua which in turn performs a syscall to a Python 3 equivalent REPL command.

Cheers!

aaarkid avatar Jul 12 '23 10:07 aaarkid