nelson-lang / nelson Goto Github PK
View Code? Open in Web Editor NEWThe Nelson Programming Language
Home Page: https://nelson-lang.github.io/nelson-website/
License: GNU Lesser General Public License v3.0
The Nelson Programming Language
Home Page: https://nelson-lang.github.io/nelson-website/
License: GNU Lesser General Public License v3.0
example
datestr(now)
19-Feb-2017 09:52:37
with a netbook, first doc call takes more 1 minute to index help files.
Indexing could be generated only once and regenerated if we add or remove a help
input arguments of sparse & output arguments of IJV should be same.
In 0.1 version, help is very uncomplet for existing builtins.
Same thing with unitary tests (currently not committed but existing)
The next "major" version MUST close this ticket before all others tickets in 2017.
on ARM: inv([0 0;i() 3]) return [NaN NaN; NaN NaN] --> KO
on others [Inf, Inf; Inf, Inf] --> OK
rcond on ARM returns 1.5 and not 0 as expected
add ndims function
doc command have no effect on some windows with binary version.
A new build will be required to fix this problem
Creates a function already existing
example d:\test\doc.nlf
addpath('d:\test')
call doc
doc function of nelson is called and not d:\test\doc.nlf
Current linux & macos binaries version do not embed tests
current fprintf is too simple and do not manage format.
example:
datenum([10000, 200000])
example on windows with a release version installed in program files do
buildhelp()
Example:
[0:0.1:0.6]
[0:0.1:0.7]
it is due to a round trouble of generated vector.
ThreeJs demo crashs on Windows 32 bits due to drivers ... :(
some format string are only available on windows.
Due to callback added, diary need to be updated
7.853981633974482790D-01 and 7.853981633974482790e-01 must be equivalent.
atof does not support natively 7.853981633974482790D-01 syntax
[ 0%] Building CXX object modules/characters_encoding/CMakeFiles/nlsCharacters_encoding.dir/src/cpp/characters_encoding.cpp.o
/Users/travis/build/Nelson-numerical-software/nelson/modules/characters_encoding/src/cpp/characters_encoding.cpp:56:9: error: use of undeclared identifier 'u_strFromUTF8_59'
u_strFromUTF8(&buffer[0], (int32_t)buffer.size(), &len, &str[0], (int32_t)str.size(), &status);
^
/usr/local/Cellar/icu4c/59.1/include/unicode/urename.h:351:23: note: expanded from macro 'u_strFromUTF8'
#define u_strFromUTF8 U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8)
^
/usr/local/Cellar/icu4c/59.1/include/unicode/uvernum.h:113:40: note: expanded from macro 'U_ICU_ENTRY_POINT_RENAME'
#define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
^
/usr/local/Cellar/icu4c/59.1/include/unicode/uvernum.h:112:44: note: expanded from macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
#define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
^
/usr/local/Cellar/icu4c/59.1/include/unicode/uvernum.h:111:43: note: expanded from macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
#define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
^
:125:1: note: expanded from here
u_strFromUTF8_59
==> Downloading https://homebrew.bintray.com/bottles/icu4c-59.1.sierra.bottle.tar.gz
==> Pouring icu4c-59.1.sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).
If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/icu4c/lib
CPPFLAGS: -I/usr/local/opt/icu4c/include
For pkg-config to find this software you may need to set:
PKG_CONFIG_PATH: /usr/local/opt/icu4c/lib/pkgconfig
==> Summary
🍺 /usr/local/Cellar/icu4c/59.1: 246 files, 65.4MB
Linking /usr/local/Cellar/icu4c/59.1... 61 symlinks created
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile
Error: pkg-config 0.29.1_2 is already installed
Y = complex(rand(500), rand(500)); OK
Y = complex(rand(500), rand(500)) // KO
display of complex number crashs with big matrix
to return last warning message
warning('toto')
previous_warning_message = lastwarn()
lastwarn('toto') set last warning message
lastwarn('') to clear last warning
Appveyor image for VS 2017 is available
Qt 5.7 for VS 2017 (ok)
boost 1.64 (need to build)
loadfunction was removed from current Nelson and must be removed.
Content is in the title ;)
isfinite required for cosd, sind
Currently, test_makeref uses current session to create a ref file.
It should be better to start another clean process.
--> [numeric_data, text_data, raw_data] = COM_xlsread([nelsonroot(), '/modules/com_engine/tests/format_excel97.xls']);
An absolute path expected.
appelée à partir de :
C:/Program Files/Nelson-0.1.7.0 (64 bits)/modules/com_engine/functions/COM_xlsread.nlf
à la ligne: 71 position:1
subsref & subsasgn functions required for overloading
sprintf('toto')
Current generatepo.nls does not generate also a .pot file
dv = datevec(datenum('10-Mar-2010 16:48:17'));
REF = [2010 3 10 16 48 17];
assert_isequal(dv, REF);
dv = datevec(datenum('Mar.10,2010'));
REF = [2010 3 10 0 0 0];
assert_isequal(dv, REF);
icon is not embedded in binaries @
Current sparse insertion and extraction need to be completed.
In 0.1 version, help is very uncomplet for existing builtins.
The next "major" version MUST close this ticket before all others tickets in 2017.
t1 <= t2 OK(double)
but
t2 >= t1 KO(double)
fft functions are fast using FFTW but currently we could do faster using multithreading availabke in FFTW and others librairies used in Nelson
a = lasterror();
lasterror('reset')
error(a)
typo error to fix
Some files are missing
--> test_run('core')
1/1 - [core] :
1/4 - [core] test_nargin Fail
run('C:/Program Files/Nelson-0.1.1.30 (64 bits)/modules/core/tests/test_nargin.nls')
2/4 - [core] test_nargout Fail
run('C:/Program Files/Nelson-0.1.1.30 (64 bits)/modules/core/tests/test_nargout.nls')
3/4 - [core] test_nfilename Pass
4/4 - [core] bug_namelengthmax Pass
//==========================================================================
Summary:
Tests: 4
Passed: 2
Failed: 2
Skipped: 0
Benchs: 0
Temps écoulé: 0 ms
//===========================================================================
ans =
<logical> - size: 1x1
false
In 0.1 version, all tests are not published in source for existing builtins.
The next "major" version MUST close this ticket before all others tickets.
Overload need to be completed:
Error expected (OK):
a = str2func('sin')
a(1).b= 1
Error expected (KO):
a = str2func('sin')
a(1).b
or
c = complexObj(3,4);
c(1).r
Currently, we evaluate a(1) only
Assignment expected(KO):
a = str2func('sin')
a.b=3
Currently, Nelson returns an error and not a value.
Currently 'warning' manages only a message.
Nelson could be extended with
warning('off') : disable all warnings
warning('on'): enable warning
warning('stop'): warning stop execution
current_warning_state = warning('query')
fopen could manage machine format and encoding
mldivide, ldivide & '.' b '' operators are missing (overload & implementation).
rand & randn do not use Column-major order
add isnan & isinf functions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.