File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -330,6 +330,7 @@ Content-Type: application/json
330330` erlang ` ,
331331` file ` ,
332332` forte ` ,
333+ ` forth ` ,
333334` fortran ` ,
334335` freebasic ` ,
335336` fsharp.net ` ,
Original file line number Diff line number Diff line change @@ -64,4 +64,5 @@ args: {
6464 "llvm_ir" = import ./llvm_ir.nix args ;
6565 "mono-basic" = import ./mono-basic.nix args ;
6666 "j" = import ./j.nix args ;
67+ "forth" = import ./forth.nix args ;
6768}
Original file line number Diff line number Diff line change 1+ { pkgs , piston , ...} :
2+ let
3+ pkg = pkgs . gforth ;
4+ in piston . mkRuntime {
5+ language = "forth" ;
6+ version = pkg . version ;
7+ runtime = "forth" ;
8+
9+ aliases = [
10+ "gforth"
11+ ] ;
12+
13+ run = ''
14+ ${ pkg } /bin/gforth "$@"
15+ '' ;
16+
17+ tests = [
18+ ( piston . mkTest {
19+ files = {
20+ "test.forth" = ''
21+ .( OK) bye
22+ '' ;
23+ } ;
24+ args = [ ] ;
25+ stdin = "" ;
26+ packages = [ ] ;
27+ main = "test.forth" ;
28+ } )
29+ ] ;
30+ }
You can’t perform that action at this time.
0 commit comments