pk19604014
|
aa8a5f174d
Replaced std::exit() with return Carbon::ErrorOr for expected errors like invalid syntax (#1120)
|
4 anos atrás |
Jeremy G. Siek
|
ac0b810bf3
Adds basic support for class functions and methods. (#1057)
|
4 anos atrás |
Geoff Romer
|
1723b4e0b2
Hide `Interpreter` in .cpp (#1036)
|
4 anos atrás |
Geoff Romer
|
461e178273
Store named constant values in the AST (#1011)
|
4 anos atrás |
Geoff Romer
|
f75b4d322f
Handle use-before-declare in static name lookup (#967)
|
4 anos atrás |
Geoff Romer
|
17e0a1afb9
Implement static name resolution (#958)
|
4 anos atrás |
Geoff Romer
|
3e188c8562
Express prelude using Carbon syntax (#955)
|
4 anos atrás |
Geoff Romer
|
d854fb93cb
Factor out AST node for function return types. (#912)
|
4 anos atrás |
Geoff Romer
|
a9bb06ca14
Make NamedEntityInterface non-movable (#946)
|
4 anos atrás |
Jon Meow
|
2f15a64a6b
Move a little logic into TypeChecker to narrow what's exposed. (#938)
|
4 anos atrás |
Jon Meow
|
27e084d37a
Start populating named entities in relevant locations. (#919)
|
4 anos atrás |
Jon Meow
|
6d822ababb
Rename main to Main for Carbon style consistency (#939)
|
4 anos atrás |
Jon Meow
|
904774fbb8
Collapse Sequence into Block. (#927)
|
4 anos atrás |
Jon Meow
|
bbd4940e6d
Be more explicit about AST types (#921)
|
4 anos atrás |
Geoff Romer
|
3bec7f8dc0
Unify Action and Scope stacks, and eliminate Frame (#880)
|
4 anos atrás |
Jon Meow
|
a9eed3dbf1
Pass the flag instead of using a global. (#893)
|
4 anos atrás |
Geoff Romer
|
a3eac75a5b
Unify function declarations and definitions. (#896)
|
4 anos atrás |
Geoff Romer
|
bb28d37eed
Drop support for named tuple fields (#886)
|
4 anos atrás |
Jon Meow
|
55ecb62ce5
Refactor Expression accessor/mutator style (#883)
|
4 anos atrás |
Geoff Romer
|
a99d882223
Perform type-checking in place (#867)
|
4 anos atrás |
Jon Meow
|
70797e8bf8
Mass rename SourceLoc and Tag (#860)
|
4 anos atrás |
Jon Meow
|
04ab30f231
Make the AST mutable (#849)
|
4 anos atrás |
Jon Meow
|
56dc4ae375
Rename Ptr<T> to Nonnull<T*> (#832)
|
4 anos atrás |
Jon Meow
|
90f04700e2
Remove global_arena (#814)
|
4 anos atrás |
Geoff Romer
|
f931a8cead
Replace all lists with vectors (#815)
|
4 anos atrás |
Jon Meow
|
a03536a196
Add syntax for package and library (#792)
|
4 anos atrás |
Jon Meow
|
31b4f1e7ac
Move ExecProgram to interpreter/ (#802)
|
4 anos atrás |