Skip to content

Commit

Permalink
Move source translation stuff to a python package
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasaglia committed Oct 22, 2024
1 parent a5f5abc commit 930bdbe
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 997 deletions.
94 changes: 0 additions & 94 deletions tools/code_processing/langs/cpp.py

This file was deleted.

144 changes: 0 additions & 144 deletions tools/code_processing/langs/ts.py

This file was deleted.

5 changes: 3 additions & 2 deletions tools/code_processing/loader.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .python_source import SourceCode
from .langs import ts, pseudocode, cpp
from source_translator import SourceCode
from source_translator.langs import cpp, ts
from . import pseudocode


language_names = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from ..python_source import AstTranslator, IndentationManager, snake_to_lower_camel
from source_translator import AstTranslator, IndentationManager
from source_translator.naming import snake_to_lower_camel


class PseudoCode(AstTranslator):
Expand Down
Loading

0 comments on commit 930bdbe

Please sign in to comment.