You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added defer generator. This generator will defer outputting until a
scope is exited. This adds some burden on generator writers to be
aware of the need to document their scope enter/exit and explicit
exits.
It was implemented by putting the defer output into a splice, then
having the Writer keep track of scopes and output the splices in the
appropriate locations.
* Speculatively fix double std::move on newStringOutput which seems to
be completely invalid, but didn't seem to break anything.
* Add documentation for path and field
Copy file name to clipboardexpand all lines: doc/Roadmap.org
+5-4
Original file line number
Diff line number
Diff line change
@@ -83,10 +83,6 @@ It needs to be possible to mix strict C and C++ modules, because it's unlikely t
83
83
Currently, defining which headers to include from compile-time functions is not possible. This is important to support complex compile-time code bases spread across multiple functions and headers. It's also necessary to be able to include Cakelisp headers optionally, so compile-time functions can help macros/generators/etc.
84
84
85
85
This shouldn't be a hard add, but it is tricky to decide where import list should go: within each function, at the module level, both of those, etc.
86
-
** ~defer~ support
87
-
This one is going to be a bit tricky, because scopes are going to need to be tracked. I think it's a really nice to have feature, but one of the harder, more error-prone ones.
88
-
89
-
I don't want to just use C++ destructors because I want a pure-C option.
90
86
** ~for~ loop
91
87
In GameLib, almost all loops would be fine with a number range, e.g. here are some ideas:
92
88
#+BEGIN_SRC lisp
@@ -214,6 +210,11 @@ Mostly listing this because it's what I use (LSP is a bit too heavyweight for my
214
210
The following are things that were on the Roadmap that are now complete.
215
211
216
212
These are sorted with most recently completed appearing first.
213
+
214
+
** ~defer~ support
215
+
This one is going to be a bit tricky, because scopes are going to need to be tracked. I think it's a really nice to have feature, but one of the harder, more error-prone ones.
216
+
217
+
I don't want to just use C++ destructors because I want a pure-C option.
217
218
** Conditionals based on build configuration
218
219
It is useful to be able to define blocks of code which are e.g. operating-system specific, e.g. something like:
0 commit comments