Andrey Breslav
c5cddd42cb
.gitignore
2013-10-06 15:19:04 +04:00
Andrey Breslav
173e7157ab
ReadMe
2013-10-06 15:17:59 +04:00
Andrey Breslav
632adb595c
Some tests for loops
2013-10-06 15:17:59 +04:00
Andrey Breslav
55e861e503
Don't forget to pop the condition off the stack
2013-10-06 15:17:59 +04:00
Andrey Breslav
c376619790
Allow omitting "public" and "test"
2013-10-06 15:17:59 +04:00
Andrey Breslav
e85a6fda39
Support int coercions on return
2013-10-06 15:17:59 +04:00
Andrey Breslav
85ac477b2f
assertEquals(): order fixed
2013-10-06 15:17:59 +04:00
Andrey Breslav
5a075b80d5
Testing infrastructure
2013-10-06 15:17:59 +04:00
Andrey Breslav
ffca4dd5a0
Setting up equals()/hashCode() for values and results
2013-10-06 15:17:59 +04:00
Andrey Breslav
a55c350c0c
Added dependency on junit
2013-10-06 15:17:59 +04:00
Andrey Breslav
b067b1abe4
toString() supported for values and results
2013-10-06 15:17:59 +04:00
Andrey Breslav
0aca17ce15
Do not evaluate label instructions and such
2013-10-06 15:17:59 +04:00
Andrey Breslav
b926e79aac
Support for interpreter events
2013-10-06 15:17:58 +04:00
Andrey Breslav
3bae3e25b5
Support for throwing exceptions from Eval
2013-10-06 15:17:58 +04:00
Andrey Breslav
7559c3bd94
Main interpreter loop implemented
2013-10-06 15:17:58 +04:00
Andrey Breslav
2e374df5a9
Formatting
2013-10-06 15:17:58 +04:00
Andrey Breslav
f93d209b88
Control logic will be handled by interpreter loop
2013-10-06 15:17:58 +04:00
Andrey Breslav
21e0dabf87
Using LabelNode instead of bare Label
2013-10-06 15:17:58 +04:00
Andrey Breslav
8aad18e849
Class renamed
2013-10-06 12:31:15 +04:00
Andrey Breslav
2a24c00539
Unused methods removed
2013-10-06 12:25:21 +04:00
Andrey Breslav
f1601b2da0
Eval and Control separated
2013-10-06 03:52:09 +04:00
Andrey Breslav
a078727ea3
IINC treatment corrected
2013-10-06 03:47:16 +04:00
Andrey Breslav
fcc3fae8e5
Interpreter completed
2013-10-06 03:34:37 +04:00
Andrey Breslav
dae297d262
Nilary and unary operations supported
2013-10-06 02:00:18 +04:00
Andrey Breslav
a6dee0fd3b
Initial project structure
2013-10-06 00:06:06 +04:00
Andrey Breslav
00c3156b59
Use Unit instead of Void
2013-10-05 16:59:57 +04:00
Andrey Breslav
2e585f88a3
ReenteringLazyValueComputationException & co moved to frontend
2013-10-05 16:59:57 +04:00
Andrey Breslav
0765e89b19
Weakly retained memoized functions moved out of util.runtime
2013-10-05 16:59:57 +04:00
Andrey Breslav
5ebbe0d772
Get rid of dependency on guava in DFS
2013-10-05 16:59:57 +04:00
Andrey Breslav
239ca9728d
StorageManager API does not use Computable and Function and more
2013-10-05 16:59:57 +04:00
Andrey Breslav
7d1c46ed2c
Getting rid of Computable and Function in lazy values and memoized functions
2013-10-05 16:59:56 +04:00
Andrey Breslav
4d28dfada6
Lazy values and memoized functions conform to Kotlin's function interfaces
2013-10-05 16:59:56 +04:00
Evgeny Gerashchenko
a1e4ca2871
Not building light class for local class (to fix exception in tests).
2013-10-04 20:40:55 +04:00
Evgeny Gerashchenko
8070f62764
Implemented abstract methods introduced in newer IDEA.
2013-10-04 20:38:02 +04:00
Zalim Bashorov
4f957eaf69
Extracted manifest values to manifest.properties file.
2013-10-04 19:21:25 +04:00
Zalim Bashorov
dd553ef671
JPS plugin: refactoring:
...
- extract utility methods from KotlinBuilder;
- use StringUtil#join instead for iteration;
- add private constructor to LibraryUtils.
2013-10-04 19:18:19 +04:00
Alexander Udalov
9d7968457f
JDR doesn't depend on intellij-core
2013-10-04 18:32:42 +04:00
Alexander Udalov
89dbafb6be
Rename KotlinClassFileHeader and related classes
2013-10-04 18:32:42 +04:00
Alexander Udalov
c3abd1c26f
Delete LOG.error from ReadDataFromAnnotationVisitor
...
These conditions can happen on a broken binary data, no need to report an error
about it
2013-10-04 18:32:42 +04:00
Alexander Udalov
098d183a72
Remove Logger from AnnotationDescriptorDeserializer
...
Use abstract ErrorReporter instead
2013-10-04 18:32:42 +04:00
Alexander Udalov
ef7bb0cdf4
Delete LOG.warn about number of type arguments from JDR
...
This can happen when loading symbols from incorrect Java sources, which is OK
2013-10-04 18:32:41 +04:00
Alexander Udalov
f218877cf2
Get rid of dependency of PackageClassUtils on StringUtil
2013-10-04 18:32:41 +04:00
Alexander Udalov
5f0c593bb8
Minor, inline methods, use String instead of StringUtil
2013-10-04 18:32:41 +04:00
Alexander Udalov
edda5d8801
Move AssertInvisibleInResolver check to frontend.java
...
This is a dirty hack, taking advantage of the fact that
JavaResolverCache.getClass() is called exactly once and right after this check
2013-10-04 18:32:41 +04:00
Alexander Udalov
dbba6c614b
Rename JvmClassName.getFqName() and add a warning
...
All usages of this method as of right now seem wrong, as they don't work in the
case of classes which contain dollars in their names -- dollars get replaced to
dots
2013-10-04 18:32:41 +04:00
Alexander Udalov
e8d4aae48b
Minimize usages of JvmClassName.getFqName()
2013-10-04 18:32:41 +04:00
Alexander Udalov
fa4f568437
Delete AsmUtil.fqNameByAsmTypeUnsafe, refactor KotlinToJavaTypesMap
2013-10-04 18:32:41 +04:00
Alexander Udalov
044a47905e
Get rid of dependency on Guava's Multimap
...
Replace with a hand-written multi-map
2013-10-04 18:32:41 +04:00
Alexander Udalov
3d5e128267
Remove trivial dependencies of JDR on Guava
2013-10-04 18:32:41 +04:00
Alexander Udalov
fc78971aea
Delete JvmClassName.getAsmType()
2013-10-04 18:32:40 +04:00