aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-05-20 16:00:39 +0100
committergingerBill <bill@gingerbill.org>2018-05-20 16:00:39 +0100
commit7e4c6434012fbe4e8d76f9fb852a0f136c7bc795 (patch)
treedb162d103a6662da2239822c688aceb7f8e883e7
parente920338f211f37b202fc854a50ad088ea33cba30 (diff)
Disable default struct field values; Update README.md
-rw-r--r--README.md23
-rw-r--r--src/check_expr.cpp2
-rw-r--r--src/main.cpp2
3 files changed, 4 insertions, 23 deletions
diff --git a/README.md b/README.md
index a8829e323..e0f2ca00a 100644
--- a/README.md
+++ b/README.md
@@ -61,6 +61,8 @@ main :: proc() {
* [when, for & procedure overloading](https://www.youtube.com/watch?v=OzeOekzyZK8)
* [Context Types, Unexported Entities, Labelled Branches](https://www.youtube.com/watch?v=CkHVwT1Qk-g)
* [Bit Fields, i128 & u128, Syntax Changes](https://www.youtube.com/watch?v=NlTutcLyF64)
+* [Default and Named Arguments; Explicit Parametric Polymorphism](https://www.youtube.com/watch?v=-XQZE6S6zUU)
+* [Loadsachanges](https://www.youtube.com/watch?v=ar0vFMoMtrI)
## Requirements to build and run
@@ -86,24 +88,3 @@ main :: proc() {
* This is still highly in development and the language's design is quite volatile.
* Syntax is not fixed.
-
-## Roadmap
-
-Not in any particular order and not be implemented
-
-* Compile Time Execution (CTE)
- - More metaprogramming madness
- - Compiler as a library
- - AST inspection and modification
-* CTE-based build system
-* Replace LLVM backend with my own custom backend
-* Improve SSA design to accommodate for lowering to a "bytecode"
-* SSA optimizations
-* Documentation Generator for "Entities"
-* Multiple Architecture support
-* Debug Information
- - pdb format too
-* Command Line Tooling
-* Compiler Internals:
- - Big numbers library
- - Multithreading for performance increase
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 2b3a3d66c..ab9a42e6f 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -2908,7 +2908,7 @@ bool check_builtin_procedure(Checker *c, Operand *operand, AstNode *call, i32 id
operand->mode = Addressing_Value;
} else if (name == "assert") {
if (ce->args.count != 1) {
- error(call, "'#assert' expects at 1 argument, got %td", ce->args.count);
+ error(call, "'#assert' expects 1 argument, got %td", ce->args.count);
return false;
}
if (!is_type_boolean(operand->type) && operand->mode != Addressing_Constant) {
diff --git a/src/main.cpp b/src/main.cpp
index a3fc783a7..d528de0b9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,6 +1,6 @@
// #define NO_ARRAY_BOUNDS_CHECK
#define NO_POINTER_ARITHMETIC
-// #define NO_DEFAULT_STRUCT_VALUES
+#define NO_DEFAULT_STRUCT_VALUES
#include "common.cpp"
#include "timings.cpp"