cafe icon indicating copy to clipboard operation
cafe copied to clipboard

Cafe- The Programming Language

Results 9 cafe issues
Sort by recently updated
recently updated
newest added

Tasks Done: Expression IR For loop Collections TODO: Conditional Statements import/export Objects Functions

This gets accepted: ```javascript cafe -c ./ForLoop.cafe.txt ```

bug

- toNumber - toString

enhancement

Example: ```javascript func A(){ var a; # local variable `a` func B(a){ # parameter `a` collides with parent declaration `a` cmd.println("I am in B"); } return B; } ``` Throws...

semantics bug

The following compiles, but fails to write it to a file: ``` cafe -c export.cafe ``` Exception thrown: ``` [SUCCESS] java.io.FileNotFoundException: null\anonymous.class (The system cannot find the path specified) at...

bug

The following code should throw an error, but it compiles & runs successfully. ```javascript import c as B from '..'; c(); // this call should throw an error message as...

runtime bug

Input: ```javascript var x = "This is a cafe example.\nI am testing \"Strings\"."; cmd.println(x); ``` Output: ``` This is a cafe example. I am testing Strings. ``` `""` are not...

tokenizer bug

_This stage is completed till parser._ For-each loop support for all collections/data-structures & objects.

enhancement

_This stage is completed till parser._ ### Data Structures 1. List 2. LinkedList 3. Map 4. Set - [ ] Above data structure support - [ ] Support for basic...

enhancement