Skip to content

Commit 6b0247d

Browse files
committed
wip transpilers
Signed-off-by: George Lemon <georgelemon@protonmail.com>
1 parent 2ee0c3a commit 6b0247d

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

src/tim/engine/transpilers/jsgen.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# Made by Humans from OpenPeeps
55
# https://github.com/openpeeps/tim | https://tim-engine.com
66

7-
import std/[macros, options, os, hashes,
8-
sequtils, strutils, ropes, tables, re]
7+
import std/[macros, options, os, sequtils,
8+
strutils, ropes, tables]
99

10-
import ../[ast, chunk, errors, sym, value]
10+
import ../[ast, chunk, errors, sym]
1111

1212
type
1313
GenKind = enum

src/tim/engine/transpilers/pygen.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# Made by Humans from OpenPeeps
55
# https://github.com/openpeeps/tim | https://tim-engine.com
66

7-
import std/[macros, options, os, hashes,
8-
sequtils, strutils, ropes, tables, re]
7+
import std/[macros, options, os, sequtils,
8+
strutils, ropes, tables]
99

10-
import ../[ast, chunk, errors, sym, value]
10+
import ../[ast, chunk, errors, sym]
1111

1212
type
1313
GenKind = enum

src/tim/engine/transpilers/rbgen.nim

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# Made by Humans from OpenPeeps
55
# https://github.com/openpeeps/tim | https://tim-engine.com
66

7-
import std/[macros, options, os, hashes,
8-
sequtils, strutils, ropes, tables, re]
7+
import std/[macros, options, os, sequtils,
8+
strutils, ropes, tables]
99

10-
import ../[ast, chunk, errors, sym, value]
10+
import ../[ast, chunk, errors, sym]
1111

1212
type
1313
GenKind = enum
@@ -83,7 +83,6 @@ proc repeatStr(s: string, n: int): string =
8383
for i in 0..<n:
8484
result.add(s)
8585

86-
8786
proc getImplValue(node: Node, unquoted = true): string =
8887
# Helper to render Ruby values from AST nodes
8988
case node.kind

0 commit comments

Comments
 (0)