Comments (8)
it should be nice to be able to script something like this
#include <stdio.h>
#include <array.h>
int main() {
array double A[2][3] = {1, 2, 3,
4, 5, 6};
array double B[3][2];
printf("A= \n%f \n", A+A);
B = 2*transpose(A);
printf("B= \n%f \n", B);
}
Original comment by [email protected]
on 17 Sep 2009 at 2:55
from picoc.
This is an enhancement request, not a defect. PicocC is intended to be small,
hence
the omission of array declarators for now. However I may add it later if there's
sufficient demand.
Original comment by [email protected]
on 4 Oct 2009 at 2:11
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from picoc.
array are useful enough!
Original comment by [email protected]
on 5 Oct 2009 at 12:29
from picoc.
Implemented in revision #396
Original comment by [email protected]
on 8 Nov 2009 at 4:33
from picoc.
Original comment by [email protected]
on 8 Nov 2009 at 4:34
- Changed state: Verified
from picoc.
how to get "revision #396" ? how have i to instruct the svn ?
Original comment by [email protected]
on 8 Nov 2009 at 7:39
from picoc.
OK, svn checkout http://picoc.googlecode.com/svn/trunk/ r396 is now working
correct:
just too slow delay =P
i will test it
Original comment by [email protected]
on 8 Nov 2009 at 7:42
from picoc.
ppc 7410
Test: 00_assignment...
Test: 01_comment...
Test: 02_printf...
Test: 03_struct...
Test: 04_for...
Test: 05_array...
Test: 06_case...
Test: 07_function...
Test: 08_while...
Test: 09_do_while...
Test: 10_pointer...
Test: 11_precedence...
Test: 12_hashdefine...
Test: 13_integer_literals...
Test: 14_if...
Test: 15_recursion...
Test: 16_nesting...
Test: 17_enum...
Test: 18_include...
Test: 19_pointer_arithmetic...
Test: 20_pointer_comparison...
Test: 21_char_array...
Test: 22_floating_point...
Test: 23_type_coercion...
Test: 24_math_library...
Test: 25_quicksort...
Test: 26_character_constants...
Test: 28_strings...
Test: 29_array_address...
Test: 34_array_assignment...
Test: 35_sizeof...
Test: 36_array_initialisers...
test passed
Original comment by [email protected]
on 8 Nov 2009 at 7:43
from picoc.
Related Issues (20)
- Ternary operator executes both sides
- r581 and later failing on OS X HOT 4
- <function> is out of scope -- OS X related HOT 2
- if ( somepointer) fails
- Can't assign struct coordinates from array initializer HOT 1
- Implement coma operator in for loops
- #define within a #include file from interactive mode crashes HOT 2
- Invalid return point HOT 3
- Define macro inside a function block will crash picoc HOT 4
- Issue 192 revisited -- still broken in interactive mode. HOT 4
- Patch for /trunk/clibrary.c
- Patch suggestion
- Had very minor issue compiling on Solaris 10 spardc
- Github migration HOT 2
- Support for dirent.h
- Picoc -i on OSX gives SIGABRT
- Shift operators ignore the unsigned type HOT 1
- Variable scope not always respected
- Executions speed decreased HOT 1
- Migration to anoher project hosting site HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picoc.