index
:
cup
master
Unnamed repository; edit this file 'description' to name the repository.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
Commit message (
Expand
)
Author
Age
Files
Lines
*
Add support for pointers! (tests missing)
Mustafa Quraish
2022-02-02
4
-17
/
+30
*
Refactor variable access+assignment in terms of `generate_lvalue()`
Mustafa Quraish
2022-02-02
1
-20
/
+21
*
Add `size_for_type()` helper instead of hard-coding variable sizes
Mustafa Quraish
2022-02-02
3
-5
/
+16
*
Modify how types are stored.
Mustafa Quraish
2022-02-02
4
-99
/
+143
*
Defer: Pop elements off the defer-stack when returning
Mustafa Quraish
2022-02-01
1
-2
/
+4
*
Add basic `defer` implementation.
Mustafa Quraish
2022-02-01
7
-1
/
+104
*
Testing: Add support for testing stdout results, check builtins
Mustafa Quraish
2022-02-01
2
-0
/
+103
*
Global variables now supported! + some fixes to OP_ASSIGN
Mustafa Quraish
2022-01-31
5
-63
/
+157
*
Add .gitattributes to try to highlight code as Rust
Mustafa Quraish
2022-01-31
2
-1
/
+2
*
Add workflow to run tests on push
Mustafa Quraish
2022-01-31
1
-0
/
+17
*
Move around tests in the categories; Add missing tests
Mustafa Quraish
2022-01-31
4
-179
/
+197
*
Add `std/math.cup` with some common math functions
Mustafa Quraish
2022-01-31
1
-0
/
+22
*
Add ability to import other files
Mustafa Quraish
2022-01-31
4
-3
/
+62
*
Minor fixes to code generation
Mustafa Quraish
2022-01-31
1
-11
/
+11
*
Fix offset for local variables
Mustafa Quraish
2022-01-31
1
-1
/
+1
*
Make `Lexer_new` return a pointer instead of the object.
Mustafa Quraish
2022-01-31
3
-8
/
+8
*
Add basic builtin-function support
Mustafa Quraish
2022-01-31
6
-38
/
+192
*
Put tokens in their own macro to allow looping over them
Mustafa Quraish
2022-01-30
4
-30
/
+36
*
Update build system to use Makefile
Mustafa Quraish
2022-01-30
7
-73
/
+75
*
Rename `cup` directory to `src`
Mustafa Quraish
2022-01-30
15
-1
/
+1
*
Remove return-0 example
Mustafa Quraish
2022-01-30
1
-3
/
+0
*
Functions, yay!
Mustafa Quraish
2022-01-30
7
-19
/
+259
*
Make the compiler / scripts work on Linux too (yay!)
Mustafa Quraish
2022-01-29
3
-6
/
+40
*
Add for and while loop support (w/o declarations in `for`)
Mustafa Quraish
2022-01-29
7
-14
/
+230
*
Implement blocks (lexically scoped) and conditionals
Mustafa Quraish
2022-01-29
10
-39
/
+487
*
Add i64{max,min} helper functions
Mustafa Quraish
2022-01-29
2
-1
/
+7
*
Allow uninitialized variable declarations
Mustafa Quraish
2022-01-29
8
-37
/
+88
*
Add some tests for local variables
Mustafa Quraish
2022-01-29
3
-0
/
+54
*
Now supporting local variables! :^)
Mustafa Quraish
2022-01-29
6
-29
/
+92
*
Restore line/col count in Lexer_peek to get correct locations
Mustafa Quraish
2022-01-29
1
-0
/
+4
*
Add separator in `die_location()`
Mustafa Quraish
2022-01-29
1
-0
/
+1
*
Stop tests if compilation fails
Mustafa Quraish
2022-01-29
1
-0
/
+2
*
Add parsing + storing offsets for locals / move around headers
Mustafa Quraish
2022-01-29
8
-24
/
+114
*
Add relational and logical operators + refactor binop parser
Mustafa Quraish
2022-01-29
6
-51
/
+198
*
Add some arithmetic binary operations into lex+parse+generation
Mustafa Quraish
2022-01-28
5
-19
/
+184
*
Corrent incorrect `break` in Lexer
Mustafa Quraish
2022-01-28
1
-5
/
+6
*
Scripts: Reorganize a bit, add some rudimentary shell-testing
Mustafa Quraish
2022-01-28
4
-16
/
+89
*
Add some basic args parsing so we can test stuff from the CLI
Mustafa Quraish
2022-01-28
1
-23
/
+66
*
Examples: Add example for unary ops, remove type hints
Mustafa Quraish
2022-01-28
2
-2
/
+8
*
Lexer: Support inline comments
Mustafa Quraish
2022-01-28
1
-1
/
+10
*
Ignore nasm, object and executable files
Mustafa Quraish
2022-01-28
1
-1
/
+5
*
Add initial code generation capabilities
Mustafa Quraish
2022-01-28
2
-0
/
+91
*
Lexer+Parser: Add support for some unary operations
Mustafa Quraish
2022-01-28
6
-8
/
+50
*
Add some scripts to help assemble generated output and run it
Mustafa Quraish
2022-01-28
3
-1
/
+32
*
Add a parser, dump the AST in main
Mustafa Quraish
2022-01-28
3
-5
/
+156
*
Add AST/type definitions
Mustafa Quraish
2022-01-28
2
-0
/
+142
*
Shorten Lexer method names to next/peek
Mustafa Quraish
2022-01-28
2
-7
/
+10
*
Use custom macro for tokens enum+names
Mustafa Quraish
2022-01-28
2
-81
/
+75
*
Initial commit + start of lexer
Mustafa Quraish
2022-01-24
11
-0
/
+449