Skip to content

Commit

Permalink
Merge pull request #81 from specs-feup/refactor/langspecv1-removal
Browse files Browse the repository at this point in the history
Replace LanguageSpecification
  • Loading branch information
joaobispo authored Jan 2, 2025
2 parents 37d0ff0 + 28126cd commit 43d74e4
Show file tree
Hide file tree
Showing 97 changed files with 1,588 additions and 8,813 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,8 @@ PerformanceTests/sdvbs-disparity.txt
### ignore media formats
*.mp4
*.wmv


### Node

**/node_modules/*
19 changes: 9 additions & 10 deletions LARAC/src/larac/LARACLauncher.java
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
/**
* Copyright 2015 SPeCS.
*
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
*
* <p>
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License. under the License.
*/

package larac;

import org.lara.language.specification.dsl.LanguageSpecificationV2;

import larac.utils.output.Output;
import org.lara.language.specification.dsl.LanguageSpecification;
import pt.up.fe.specs.tools.lara.exception.BaseException;

public class LARACLauncher {

/**
* The main function where the aspect file is parsed and the output files are created
*
*
* @param args
* The input arguments of the program
*/
Expand All @@ -33,7 +32,7 @@ public static void main(String args[]) {

/**
* Execute LaraC with the input arguments
*
*
* @param args
* array containing the input arguments
*/
Expand All @@ -44,7 +43,7 @@ public static int exec(String args[]) {

/**
* Execute LaraC with the input arguments and a user-defined output (typically used when calling LaraC recursively)
*
*
* @param args
* array containing the input arguments
* @param output
Expand All @@ -66,13 +65,13 @@ public static int exec(String args[], Output output) {

/**
* Execute LaraC with the input arguments and a user-defined output (typically used when calling LaraC recursively)
*
*
* @param args
* array containing the input arguments
* @param output
* user-defined output, containing a user-defined verbose level
*/
public static int exec(String args[], LanguageSpecificationV2 langSpec, Output output) {
public static int exec(String args[], LanguageSpecification langSpec, Output output) {
// Create a new instance of lara with the standard output and generate
// the AST
try {
Expand Down
Loading

0 comments on commit 43d74e4

Please sign in to comment.