Rosetta Code/Find unimplemented tasks: Difference between revisions
Rosetta Code/Find unimplemented tasks (view source)
Revision as of 16:56, 3 February 2024
, 3 months ago→{{header|Wren}}: Minor tidy and rerun
(Entry for BBC BASIC) |
m (→{{header|Wren}}: Minor tidy and rerun) |
||
Line 3,616:
{{libheader|Wren-pattern}}
An embedded program so we can use the libcurl library.
<syntaxhighlight lang="
import "./pattern" for Pattern
Line 3,657:
var findTasks = Fn.new { |category|
var url = "https://www.rosettacode.org/
var cmcontinue = ""
var tasks = []
Line 3,688:
<br>
which we embed in the following C program, build and run.
<syntaxhighlight lang="c">/* gcc
#include <stdio.h>
Line 3,862:
WrenVM* vm = wrenNewVM(&config);
const char* module = "main";
const char* fileName = "
char *script = readFile(fileName);
WrenInterpretResult result = wrenInterpret(vm, module, script);
Line 3,881:
{{out}}
<pre>
Unimplemented 'full' tasks in Wren:
Unimplemented 'draft' tasks in Wren:
Continued fraction convergents
</pre>
|