[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Namespace resolution in libinterp
From: |
Andrew Janke |
Subject: |
Namespace resolution in libinterp |
Date: |
Sat, 7 Jul 2018 04:35:18 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
Hi, Octave maintainers,
I'm interested in writing a patch for Octave to support Java-style
syntax for invocation of Java constructors and static methods, so you
can write, for example:
jstr = java.lang.String('foo');
prop = java.lang.System.getProperty('foo');
instead of:
jstr = javaObject('java.lang.String', 'foo');
prop = javaMethod('getProperty', 'java.lang.System', 'foo');
This would make Java objects more usable, and increase compatibility
with Matlab.
Can someone point me to the place in the Octave code (probably in
libinterp?) where it handles namespace resolution, so I can use that as
a starting point?
Cheers,
Andrew
- Namespace resolution in libinterp,
Andrew Janke <=