Skip to content

Commit

Permalink
Add GNUR-BC compiler (#12)
Browse files Browse the repository at this point in the history
Add GNU-R bytecode compiler
  • Loading branch information
fikovnik authored May 31, 2024
1 parent fdb3835 commit 34c42ce
Show file tree
Hide file tree
Showing 89 changed files with 5,464 additions and 2,181 deletions.
2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

283 changes: 283 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 15 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</dependencies>
<build>
<!-- Snapshots aren't test resources, because we have to write to them, so we access them
at their actual locations (bundled are overridden on recompile). -->
at their actual locations (bundled are overridden on recompile). -->
<plugins>
<!-- git-build-hook, install git hooks when you run any maven command so you don't forget -->
<plugin>
Expand Down Expand Up @@ -196,19 +196,20 @@
</executions>
</plugin>
<!-- spotbugs, static analysis on bytecode -->
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.8.2.0</version>
<!-- `executions` is required to run this on verify -->
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- ignored for now -->
<!-- <plugin>-->
<!-- <groupId>com.github.spotbugs</groupId>-->
<!-- <artifactId>spotbugs-maven-plugin</artifactId>-->
<!-- <version>4.8.2.0</version>-->
<!-- &lt;!&ndash; `executions` is required to run this on verify &ndash;&gt;-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <goals>-->
<!-- <goal>check</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<!-- pmd (and cpd), static analysis on syntax -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/org/prlprg/RSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

import org.prlprg.sexp.BaseEnvSXP;
import org.prlprg.sexp.GlobalEnvSXP;
import org.prlprg.sexp.NamespaceEnvSXP;

public interface RSession {
NamespaceEnvSXP baseNamespace();

BaseEnvSXP baseEnv();

GlobalEnvSXP globalEnv();
Expand All @@ -13,4 +16,6 @@ public interface RSession {
boolean isSpecial(String name);

boolean isBuiltinInternal(String name);

NamespaceEnvSXP getNamespace(String name, String version);
}
Loading

0 comments on commit 34c42ce

Please sign in to comment.