Powered by Apache

CVS log for OpenXM/src/kan96xx/Kan/stackmachine.c

[BACK] Up to [local] / OpenXM / src / kan96xx / Kan

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.44 / (download) - annotate - [select for diffs], Tue Oct 6 11:33:47 2020 UTC (4 years, 1 month ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.43: +19 -19 lines
Diff to previous 1.43 (colored)

All causes of the warnings are fixed.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Sep 7 00:15:44 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.42: +6 -1 lines
Diff to previous 1.42 (colored)

KSstart_quiet() initializes sm1 in the quiet mode.
Bug fixes for 64 bit OS's.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 31 06:34:29 2016 UTC (8 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

Bug fix on the result code in ki.c

Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 31 05:27:34 2016 UTC (8 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

mysig.c and mysig.h are moved to src/util and are installed under
OpenXM/lib and OpenXM/include.
mysignal is used in k097.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Mar 31 03:22:54 2016 UTC (8 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.39: +15 -14 lines
Diff to previous 1.39 (colored)

signal is replaced by mysignal for portability.
mysignal calls sigaction.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Oct 8 11:49:37 2015 UTC (9 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.38: +14 -17 lines
Diff to previous 1.38 (colored)

longjmp --> _longjmp on cygwin.
We use macros MYSETJMP and MYLONGJMP.
There is still a trouble on error handling on ox_sm1.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Sep 29 01:52:14 2015 UTC (9 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

_setjmp should be used instead of setjmp on cygwin too. Otherwise, segfault will be caused.
The macro GC_INIT is called instead of GC_init().

Revision 1.37 / (download) - annotate - [select for diffs], Sun Sep 27 08:12:42 2015 UTC (9 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.36: +13 -1 lines
Diff to previous 1.36 (colored)

The sm1 causes a segfault on msys2. See comments in stackmachine.c.
A workaround for the msys2 is added. The trouble of kxx has not yet been fixed.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Feb 2 05:55:33 2006 UTC (18 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, KNOPPIX_2006, DEB_REL_1_2_3-9
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored)

The letter % should do used in tmpc, since tmpc is an argument of printf as
printf(tmpc);

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 2 04:16:49 2006 UTC (18 years, 9 months ago) by takayama
Branch: MAIN
Changes since 1.34: +14 -12 lines
Diff to previous 1.34 (colored)

^L \n is the end-mark for the data in the error channel.
Error messages are improved for ox clients.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Feb 1 00:30:05 2006 UTC (18 years, 9 months ago) by takayama
Branch: MAIN
Changes since 1.33: +18 -1 lines
Diff to previous 1.33 (colored)

A sample implementation of a new structure of error packets.
See OX-RFC-103.oxw for details.
Example. [["reason_of_error","invalid argument"],
          ["where",["shell","length"]]

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jul 18 10:55:16 2005 UTC (19 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.32: +8 -2 lines
Diff to previous 1.32 (colored)

Error messages are returned by XML from the server.
Example:
   (ox.sm1) run sm1connectr
   oxsm1.ccc (1 shell 1 2 add ) oxsubmit
   oxsm1.ccc oxpopcmo ::

Class.ErrorPacket [    12 , -1 , $<ox103:error_message><ox103:message>executeString: Usage:length</ox103:message><ox103:stack_trace>Trace: length<-shell<-;</ox103:stack_trace><ox103:source_trace>1 shell 1 2 add</ox103:source_trace></ox103:error_message>$ ]

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jul 3 11:08:54 2005 UTC (19 years, 4 months ago) by ohara
Branch: MAIN
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored)

Fixed grammatical problem for gcc4.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jun 16 05:07:23 2005 UTC (19 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.30: +23 -23 lines
Diff to previous 1.30 (colored)

The initialization of the variables of the type struct object
are added.  It is necessary to initialize the field "attr"
(object attribute) of stuct object.  cf. misc-2005/06/gfan/opt.sm1 test2.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 9 04:47:16 2005 UTC (19 years, 5 months ago) by takayama
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

An attribute field is added to all objects. (IMPORTANT and BIG change!
experimental)
Please do make clean before rebuilding. Otherwise, you will be seg fault.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 19 00:47:47 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_3
Changes since 1.28: +33 -1 lines
Diff to previous 1.28 (colored)

Vulnerability in the RestrictedMode.

When an executable array is set as an argument of a function
with ATTR_EXPORT bit, the executable may be executed, which can be
a serious security hole.
This vulnerability is removed by checking the operand stack before
doing RestrictedMode=0. See changelog-ja.tex for details.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 17 02:42:57 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.27: +27 -4 lines
Diff to previous 1.27 (colored)

RestrictedMode is introduced.
If it is set, only functions with the ATTR_EXPORT bit are allowed to be
executed. It is mainly designed for anonymous services in OpenXM-grid.

A sample code for the RestricedMode.

/hoge { (hello) message (hello2) message } def
/foo {hoge} def
[(parse) (cohom.sm1) pushfile] extension
[(parse) (ox.sm1) pushfile] extension
[(or_attr) 8 /gb] extension
[(or_attr) 8 /pmat] extension
[(or_attr) 8 /foo] extension
[(or_attr) 8 /fctr] extension
[(RestrictedMode) 1] system_variable
foo

hoge  % stopped by the RestrictedMode flag.

 [ [( (x Dx)^2 + (y Dy)^2 -1) ( x y Dx Dy -1)] (x,y)
             [ [ (Dx) 1 ] ] ] gb pmat

asirconnectr % stopped by the RestrictionMode flag

[(x^2-1) (x)] fctr pmat

Revision 1.27 / (download) - annotate - [select for diffs], Thu Sep 16 23:53:44 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.26: +7 -1 lines
Diff to previous 1.26 (colored)

Several small changes.
1. Changed an algorithm of oxGenPass.
2. The operator "." is equivalent to "exec" when the argument is an executable
   array.  Example.  { 1 2 add }. message
3. The function [(or_attrs) literal] extension is added.
   In strictMode in var.sm1, or_attrs is called instead of chattrs to
   protect all pre-defined symbols.  The function strictMode is called
   from k0 when it starts.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Sep 16 02:22:03 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

The primitive "put" accepts universalNumber as an index.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Sep 12 10:22:50 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Introducing infix operators. Step 8'.
Bug fix to treat goto properly.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 12 08:55:36 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.23: +46 -29 lines
Diff to previous 1.23 (colored)

Introducing infix operators. Step 8.  (Buggy version).

Using executeExecutableArray() to save code, but goto does not work
properly.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Sep 12 01:53:11 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.22: +18 -2 lines
Diff to previous 1.22 (colored)

Introducing infix operators. Step 4.
Infix operators work in the executable array.
sm1>/+ { add } def ;
sm1>[(or_attr) 4 /+] extension ;
sm1>/foo { [ 3 + 4 ] message } def ;
sm1>foo ;
[    7 ]

Revision 1.22 / (download) - annotate - [select for diffs], Sun Sep 12 01:32:08 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.21: +20 -5 lines
Diff to previous 1.21 (colored)

Introducing infix operators. Step 4.
Infix operators work in the top level.
/+ { add } def
[(or_attr) 4 /+] extension
[ 3 + 4 ] ::

Revision 1.21 / (download) - annotate - [select for diffs], Sun Sep 12 00:26:21 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.20: +13 -13 lines
Diff to previous 1.20 (colored)

Introducing infix operators. Step 3.
Added the tflag field to tokens.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 11 23:49:34 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Change for infix operators.
Step 2. attr field are used in bit-wise.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 11 12:13:41 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.18: +9 -1 lines
Diff to previous 1.18 (colored)

Starting of introducing infix operators in sm1.
The introduction requires a global change of executeToken() and may
cause serious bugs.
So, the commits will be done step by step.
Step1.
"getattr" is introduced.
/ff { (hello) message } def
[(chattr) 2 /ff] extension
[(getattr) /ff] extension ::

Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 5 08:08:41 2004 UTC (20 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

A bug fix of the function to show the backtrace.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 5 01:15:47 2004 UTC (20 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

A change to accept 8-bit identifiers.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 5 00:51:17 2004 UTC (20 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.15: +25 -6 lines
Diff to previous 1.15 (colored)

Trace is presented in ox servers.
Recursive call of ctrlC-hook is prohibited by using the flag
Calling_ctrlC_hook.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 4 11:25:58 2004 UTC (20 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.14: +65 -3 lines
Diff to previous 1.14 (colored)

A backtrace is presented in case of an error.
New commands:
 [(traceShowStack)] extension str
 [(traceClearStack)] extension null.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 5 13:51:31 2003 UTC (20 years, 11 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX
Changes since 1.13: +11 -4 lines
Diff to previous 1.13 (colored)

Fixed a bug on the quote mode.
<1> undefined symbol is automatically translated into a string object.
<2> result status of executeToken() is properly set.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 20 09:20:36 2003 UTC (20 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.12: +5 -1 lines
Diff to previous 1.12 (colored)

QuoteMode(1) sets the parser in the quotemode; if unknown function symbol
comes, it automatically translates the expression into a tree.
Example: class polymake extends PrimitiveObject {local ; def hogera() { return(1);} }
         QuoteMode(1); polymake.foo(1,2):
QuoteMode(0) turns off the quotemode.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 7 23:35:23 2002 UTC (22 years ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Increased the version number.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 4 11:08:59 2002 UTC (22 years ago) by takayama
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

The function ctrlC-hook will be called in the following cases as well as
ctrl-C is input from the console:
1. [(parse) (...)] extension
2. SIGUSR1 in ox_sm1
3. error in ox_sm1

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 4 10:53:56 2002 UTC (22 years ago) by takayama
Branch: MAIN
Changes since 1.9: +14 -4 lines
Diff to previous 1.9 (colored)

Introduced a new operator tlimit to limit the computation resource
during the computation of the argument.
Example: { {1 pop} loop }  2 tlimit

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 24 10:27:18 2002 UTC (22 years, 8 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_1
Changes since 1.8: +21 -1 lines
Diff to previous 1.8 (colored)

setjmp --> sigsetjmp
longjmp --> siglongjmp

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 19 23:39:53 2001 UTC (22 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Doubled the user dictionary size to avoid collisions in hashing
for large scale computation.

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 4 01:06:25 2001 UTC (23 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.6: +128 -128 lines
Diff to previous 1.6 (colored)

indent-region and untabify.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 27 05:48:46 2001 UTC (23 years, 9 months ago) by takayama
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Increased the USER_DICTIONARY_SIZE to solve problems in bench and bench2.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 20 13:33:22 2000 UTC (23 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Increased the size of the USER_DICTIONARY from 1223 to 3581.
The performance of minimal.k became about 2 or 3 times faster.
It is because small user dictionary size 1223 has caused symbol name
collisions.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 2 03:30:48 2000 UTC (24 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: maekawa-ipv6, RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

ox_sm1* server supports SM_pushCMOtag

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 21 01:08:12 2000 UTC (24 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_20000124
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Fix of a serious bug.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 16 07:55:41 2000 UTC (24 years, 9 months ago) by takayama
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

Congratulation of sm1 version 3.* !

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Oct 8 02:12:01 1999 UTC (25 years, 1 month ago) by maekawa
Branch: OpenXM
CVS Tags: ALPHA
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

o import OpenXM sources

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 8 02:12:01 1999 UTC (25 years, 1 month ago) by maekawa
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>