News for hackers. Stuff that matters.
Re:DreamBerd; Perfect Programming Language by ellis0n on Monday June 05, 2023 @02:23AM (#36193062)
It's really super fun hahah!

But you guessed right at least the features from my ACPUL no-keyword programming language.

Here is a quick comparison DreamBerd vs ACPUL:

! - should use ';' and use everywhere if(..){..}; This is important!

if (;true) - no boolean operators !, &&, || etc. no else. use

  if (a==0){
    true;
  };
  if (a!=0){
   else;
  };
Naming - unicode by default and fully translatable

Floating indexes in arrays. - works, but it's called a map

  index 0.5;
  map.set.value(index, 123);
When - works but with restrictions

  when if;
  when(a<=10){
    a+=1;
  };
  if(r0){
    a:=1;
  };
Loops - there are loops here but no "break" keyword, just set the end value. Same for functions and there is no "return" keyword, use if(..)

Indents - 1 space ident is highest priority. Maybe your editor ident: 2 space or 4 space, -3 is possible, but rare case

Function - don't need to write any keyword like 'fn' or 'func'. just func1 {..};

Strings - all strings always zero quotes. var=STRING;

File Structure - Yes! Really usable and it looks much better than other languages

AI - fully designed for AI copilot and works with partially defective code

..and it works. I wrote a lot of code. Lets fun :)

Here is the demo app https://github.com/web3cryptowallet/Web3CryptoWallet

There are no comments on this comment yet.