Skip to content

Conversation

desmorto
Copy link
Owner

No description provided.

Diego Marcilio and others added 30 commits December 8, 2016 01:27
…way.

- An extension is a field of a Location.
- Previously there was only a method for 'class'.
- Still needs to find indirect subclasses of Exception.
- Instance fields to facilitate definition of new methods.
- Using a tuple to return two values.
-- Tuple also has the benefit of nice names.
- An error was silently finishing the loop.
-- We had to check if the key was present in the map.
- Removing unecessary comments and debug prints.
- Extracting key membership logic in own method.
- Changing old 'for's to a more for-each syntax like.
- Forgot a '*', meaning that more than one class modifier would not
  pattern match.
- Initializing at module level didn't reset the state on future calls.
- Don't know why, but errors occur when don't.
- Assuring test are independent/isolated.
- Slower runtime but still fast due to small example case.
- I didn't find a DRY way to do it like JUnit's @before
-- Tests don't run in declaration order. We can't declare a function first
   and expect it to work.
- It only ran once at test startup, much like @BeforeClass.
- Considering that we might have several class definitions in one
  unit(.java file)
-- Before we were returning after the first class definition, ignoring
   following definitions.
--- This also produced unwanted behavior to capture a superClassName when
    multiple classes were defined within the same unit

- Finding classes with super classes in only one visit.
-- 'Superclass' is actually part of 'NormalClassDeclaration' syntax

- Introducing an AlgebraicDataType to handle class' and superClass' names
-- Replacing the tuple used previously
- Our syntax isn't 100%, so there are multiple classes that can't be parsed
dvmarcilio and others added 29 commits May 16, 2017 18:14
…ration

- This is actually a little different implementation from LAMBDAFICATOR
- The transformations are mostly having identation problems.
Great contribution @dvmarcilio ! We will send some pull requests using it. Thanks
.
@desmorto desmorto merged commit 928c024 into desmorto:master Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants