Skip to content

Commit

Permalink
undo changes for other languages
Browse files Browse the repository at this point in the history
  • Loading branch information
kustosz committed Jan 31, 2021
1 parent 87d6176 commit 4e1caf6
Show file tree
Hide file tree
Showing 20 changed files with 49 additions and 695 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ContextFactory {
strictErrors: Boolean = false
): PolyglotContext = {
val context = Context
.newBuilder(LanguageInfo.ID, "js", "R", "epb", "ruby", "python")
.newBuilder(LanguageInfo.ID)
.allowExperimentalOptions(true)
.allowAllAccess(true)
.option(RuntimeOptions.PACKAGES_PATH, packagesPath)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
defaultMimeType = LanguageInfo.MIME_TYPE,
characterMimeTypes = {LanguageInfo.MIME_TYPE},
contextPolicy = TruffleLanguage.ContextPolicy.SHARED,
dependentLanguages = {"epb"},
fileTypeDetectors = FileDetector.class,
services = ExecutionService.class)
@ProvidedTags({
Expand All @@ -58,7 +57,6 @@ public final class Language extends TruffleLanguage<Context> {
*/
@Override
protected Context createContext(Env env) {
// System.out.println("Enso Context Create");
Context context = new Context(this, getLanguageHome(), env);
InstrumentInfo idValueListenerInstrument =
env.getInstruments().get(IdExecutionInstrument.INSTRUMENT_ID);
Expand All @@ -73,8 +71,7 @@ protected Context createContext(Env env) {
* @param context the language context
*/
@Override
protected void initializeContext(Context context) {
// System.out.println("Enso Context Initialize");
protected void initializeContext(Context context) throws Exception {
context.initialize();
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4e1caf6

Please sign in to comment.