OSDN Git Service

happyabc/happyabc.git
15 years ago[REFACOTR]clos
mzp [Sun, 9 Nov 2008 14:28:06 +0000 (23:28 +0900)]
[REFACOTR]clos

15 years agoremove extra file
mzp [Sun, 9 Nov 2008 14:22:27 +0000 (23:22 +0900)]
remove extra file

15 years ago[REFACTOR]byte moudle test
mzp [Sun, 9 Nov 2008 14:11:56 +0000 (23:11 +0900)]
[REFACTOR]byte moudle test

15 years ago[REFACTOR]base moudle test
mzp [Sun, 9 Nov 2008 14:08:24 +0000 (23:08 +0900)]
[REFACTOR]base moudle test

15 years ago[REFACTOR]ast module test
mzp [Sun, 9 Nov 2008 14:04:52 +0000 (23:04 +0900)]
[REFACTOR]ast module test

15 years ago[REFACTOR]test abc
mzp [Sun, 9 Nov 2008 13:45:25 +0000 (22:45 +0900)]
[REFACTOR]test abc

15 years agochange rename v0.1.0
mzp [Sun, 9 Nov 2008 00:20:59 +0000 (09:20 +0900)]
change rename

15 years ago[REFACTOR]Change program name
mzp [Sun, 9 Nov 2008 00:13:35 +0000 (09:13 +0900)]
[REFACTOR]Change program name

15 years ago[REFACTOR]remove make_proc/make_meth
mzp [Sat, 8 Nov 2008 13:30:20 +0000 (22:30 +0900)]
[REFACTOR]remove make_proc/make_meth

15 years agotest
mzp [Fri, 7 Nov 2008 02:27:41 +0000 (11:27 +0900)]
test

15 years ago[FIX] Class solt bug
mzp [Thu, 6 Nov 2008 14:56:19 +0000 (23:56 +0900)]
[FIX] Class solt bug

Bug:
  (define-class Foo (Object) (x y))

x and y refer to same pointer.

15 years ago[FIX] Multi method define problem
mzp [Thu, 6 Nov 2008 14:00:44 +0000 (23:00 +0900)]
[FIX] Multi method define problem

Bug:
Generate invalid abc-code for following code:

  (define-method f ([self A]))
  (define-method f ([self B]))

15 years ago[FIX] Multi class definison's bug is fixed
mzp [Tue, 4 Nov 2008 12:03:15 +0000 (21:03 +0900)]
[FIX] Multi class definison's bug is fixed

Bug example:
 (define-class A (Object) ())
 (define-class B (Object) ())

Fix:
 - don't share defalut constructor
 - class-slot index is based to 1

15 years ago[UPDATE] (begin) return undefined
mzp [Mon, 3 Nov 2008 12:44:11 +0000 (21:44 +0900)]
[UPDATE] (begin) return undefined

15 years ago[ADD] Support Class's slot access
mzp [Mon, 3 Nov 2008 11:21:49 +0000 (20:21 +0900)]
[ADD] Support Class's slot access

Support class's property access via slot-access syntax.

Example:
  (slot-ref obj x) ; => obj.x
  (slot-set! obj x 42) ; => obj.x = 42

Note: I DO NOT recommend use 'slot-set!', because it is destructive method.

15 years ago[REFACTOR] change some code
mzp [Mon, 3 Nov 2008 09:00:37 +0000 (18:00 +0900)]
[REFACTOR] change some code

15 years ago[UPDATE]class's attributes is bind to slot-id
mzp [Mon, 3 Nov 2008 01:45:25 +0000 (10:45 +0900)]
[UPDATE]class's attributes is bind to slot-id

15 years ago[UPDATE] I add attr list to Class variant
mzp [Mon, 3 Nov 2008 01:22:21 +0000 (10:22 +0900)]
[UPDATE] I add attr list to Class variant

15 years agoMerge branch 'clos'
mzp [Sun, 2 Nov 2008 11:08:41 +0000 (20:08 +0900)]
Merge branch 'clos'

Conflicts:

15 years agorename
mzp [Sun, 2 Nov 2008 11:07:30 +0000 (20:07 +0900)]
rename

15 years agorename
mzp [Sun, 2 Nov 2008 11:07:12 +0000 (20:07 +0900)]
rename

15 years ago[FIX] remove extra file
mzp [Sun, 2 Nov 2008 11:04:37 +0000 (20:04 +0900)]
[FIX] remove extra file

15 years ago[UPDATE] add invoke->call example
mzp [Sun, 2 Nov 2008 10:48:25 +0000 (19:48 +0900)]
[UPDATE] add invoke->call example

15 years ago[ADD] call to invoke translator
mzp [Sun, 2 Nov 2008 10:45:43 +0000 (19:45 +0900)]
[ADD] call to invoke translator

Under some conditions, Ast.Call is converted to Ast.Invoke.

For example:
  (define-method f ([self Foo]) ...)

  (f obj) ;; => (. obj (f))

15 years ago[UPDATE]support closuer in define-method
mzp [Sun, 2 Nov 2008 10:27:05 +0000 (19:27 +0900)]
[UPDATE]support closuer in define-method

15 years ago[REFACTOR] rename module name
mzp [Sun, 2 Nov 2008 09:49:08 +0000 (18:49 +0900)]
[REFACTOR] rename module name

15 years ago[UPDATE] remove blank line
mzp [Sun, 2 Nov 2008 09:46:19 +0000 (18:46 +0900)]
[UPDATE] remove blank line

15 years ago[UPDATE] example
mzp [Sun, 2 Nov 2008 09:44:00 +0000 (18:44 +0900)]
[UPDATE] example

15 years ago[UPDATE] example
mzp [Sun, 2 Nov 2008 08:57:00 +0000 (17:57 +0900)]
[UPDATE] example

15 years ago[ADD] Support self parameter
mzp [Sun, 2 Nov 2008 08:55:25 +0000 (17:55 +0900)]
[ADD] Support self parameter

15 years ago[REFACTOR] remove extra function
mzp [Sun, 2 Nov 2008 08:53:56 +0000 (17:53 +0900)]
[REFACTOR] remove extra function

15 years ago[FIX] Bytes unit test
mzp [Sun, 2 Nov 2008 08:26:51 +0000 (17:26 +0900)]
[FIX] Bytes unit test

15 years agoMerge branch 'clos' of git@github.com:mzp/scheme-abc into clos
mzp [Sun, 2 Nov 2008 08:21:11 +0000 (17:21 +0900)]
Merge branch 'clos' of git@github.com:mzp/scheme-abc into clos

Conflicts:

src/codegen.ml

15 years agoAdd Unittest for self in class
mzp [Sun, 2 Nov 2008 08:18:53 +0000 (17:18 +0900)]
Add Unittest for self in class

15 years agorefactoring enviroment function
mzp [Sun, 2 Nov 2008 07:08:12 +0000 (16:08 +0900)]
refactoring enviroment function

15 years ago[UPDATE] Class sample
mzp [Sat, 1 Nov 2008 03:35:46 +0000 (12:35 +0900)]
[UPDATE] Class sample

15 years ago[UPDATE] Support clos-style class definision
mzp [Sat, 1 Nov 2008 03:04:19 +0000 (12:04 +0900)]
[UPDATE] Support clos-style class definision

15 years ago[ADD]ClosTrans.to_string
mzp [Sat, 1 Nov 2008 03:02:26 +0000 (12:02 +0900)]
[ADD]ClosTrans.to_string

15 years ago[UPDATE] 'Lisp' returns ClosTras.program.
mzp [Sat, 1 Nov 2008 02:52:54 +0000 (11:52 +0900)]
[UPDATE] 'Lisp' returns ClosTras.program.

- Lisp have returned raw Ast. But now, Lisp returns ClosTrans.program.
- Change others module to support this changes

15 years ago[UPDATE] 'Lisp' supports Clos
mzp [Sat, 1 Nov 2008 02:43:38 +0000 (11:43 +0900)]
[UPDATE] 'Lisp' supports Clos

15 years agoAdd more unit test
mzp [Sat, 1 Nov 2008 02:17:06 +0000 (11:17 +0900)]
Add more unit test

- test for mixed with DefineClass and Plain

15 years agoAdd UnitTest for closTrans
mzp [Sat, 1 Nov 2008 02:05:42 +0000 (11:05 +0900)]
Add UnitTest for closTrans

15 years agoAdd ClosTrans module.
mzp [Sat, 1 Nov 2008 01:48:49 +0000 (10:48 +0900)]
Add ClosTrans module.

This is prototype. So, it does not have syntax, yet.

15 years agoAdd module signature for Closuretras module
mzp [Sat, 1 Nov 2008 01:48:01 +0000 (10:48 +0900)]
Add module signature for Closuretras module

15 years agoAdd UnitTest for Base module
mzp [Sat, 1 Nov 2008 01:46:55 +0000 (10:46 +0900)]
Add UnitTest for Base module

- add test for 'group_by'

15 years agoignore
mzp [Sat, 1 Nov 2008 00:49:56 +0000 (09:49 +0900)]
ignore

15 years agoMerge branch 'master' of git@github.com:mzp/scheme-abc
mzp [Sat, 1 Nov 2008 00:46:01 +0000 (09:46 +0900)]
Merge branch 'master' of git@github.com:mzp/scheme-abc

Conflicts:

example/swf.scm
test/OMakefile

15 years agoremove extra Transform
mzp [Sat, 1 Nov 2008 00:44:54 +0000 (09:44 +0900)]
remove extra Transform

15 years agorecover integrate test
mzp [Wed, 29 Oct 2008 08:47:07 +0000 (17:47 +0900)]
recover integrate test

15 years agochange invoke style
mzp [Wed, 29 Oct 2008 08:36:23 +0000 (17:36 +0900)]
change invoke style

15 years agomain
mzp [Tue, 28 Oct 2008 11:07:31 +0000 (20:07 +0900)]
main

15 years agoadd -v option
mzp [Tue, 28 Oct 2008 10:11:29 +0000 (19:11 +0900)]
add -v option

15 years agoenable navite compile
mzp [Tue, 28 Oct 2008 09:56:15 +0000 (18:56 +0900)]
enable navite compile

15 years agoremove ocamlbuild file
mzp [Tue, 28 Oct 2008 09:50:34 +0000 (18:50 +0900)]
remove ocamlbuild file

15 years agoremove extra file
mzp [Tue, 28 Oct 2008 09:44:26 +0000 (18:44 +0900)]
remove extra file

15 years agoConcat Abc module and ByteSerialize module
mzp [Tue, 28 Oct 2008 09:41:25 +0000 (18:41 +0900)]
Concat Abc module and ByteSerialize module

15 years agofix omakefile
mzp [Sun, 12 Oct 2008 01:17:50 +0000 (10:17 +0900)]
fix omakefile

15 years agoadd repeat
mzp [Sun, 12 Oct 2008 01:10:23 +0000 (10:10 +0900)]
add repeat

15 years agoMerge branch 'class_support'
mzp [Fri, 10 Oct 2008 04:57:25 +0000 (13:57 +0900)]
Merge branch 'class_support'

Conflicts:

Makefile
test/_tags

15 years agochange readme
mzp [Fri, 10 Oct 2008 04:55:08 +0000 (13:55 +0900)]
change readme

15 years agoapply omake to root
mzp [Fri, 10 Oct 2008 04:54:39 +0000 (13:54 +0900)]
apply omake to root

15 years agoapply omake to test & camlp4
mzp [Fri, 10 Oct 2008 04:54:14 +0000 (13:54 +0900)]
apply omake to test & camlp4

15 years agoapply OMakefile for src/
mzp [Fri, 10 Oct 2008 03:55:07 +0000 (12:55 +0900)]
apply OMakefile for src/

15 years agochange util/Makefile to util/OMakefile
mzp [Fri, 10 Oct 2008 02:27:42 +0000 (11:27 +0900)]
change util/Makefile to util/OMakefile

15 years agoAdd:support xml serialize for method-info
MIZUNO Hiroki [Sun, 24 Aug 2008 12:04:37 +0000 (21:04 +0900)]
Add:support xml serialize for method-info

15 years agoAdd: Xml serializer
MIZUNO Hiroki [Sun, 24 Aug 2008 02:49:32 +0000 (11:49 +0900)]
Add: Xml serializer

- Xml serializer dumps ABC for swfmill.

15 years agoUPDATE: rename method
MIZUNO Hiroki [Sat, 23 Aug 2008 05:35:04 +0000 (14:35 +0900)]
UPDATE: rename method

15 years agoRefactoring: split Abc moudle to Abc/ByteSerialize module.
MIZUNO Hiroki [Sat, 23 Aug 2008 05:30:01 +0000 (14:30 +0900)]
Refactoring: split Abc moudle to Abc/ByteSerialize module.

15 years agoFix: script(toplevel) returns no value.
MIZUNO Hiroki [Sat, 23 Aug 2008 03:43:04 +0000 (12:43 +0900)]
Fix: script(toplevel) returns no value.

15 years agoRefactoring: method-generate
MIZUNO Hiroki [Sat, 23 Aug 2008 03:23:25 +0000 (12:23 +0900)]
Refactoring: method-generate

15 years agoFix: testcase for codegen
mzp [Thu, 21 Aug 2008 03:58:40 +0000 (12:58 +0900)]
Fix: testcase for codegen

15 years agoAdd: generate abc-file which can be embeded in swf.
MIZUNO Hiroki [Wed, 20 Aug 2008 13:01:18 +0000 (22:01 +0900)]
Add: generate abc-file which can be embeded in swf.

15 years agosupporting for swf
MIZUNO Hiroki [Wed, 20 Aug 2008 12:52:19 +0000 (21:52 +0900)]
supporting for swf

15 years agoAdd: invoke method
MIZUNO Hiroki [Wed, 20 Aug 2008 12:04:52 +0000 (21:04 +0900)]
Add: invoke method

- add instance method invocation.

15 years agoADD: unittest for define-class/new
mzp [Wed, 20 Aug 2008 09:40:52 +0000 (18:40 +0900)]
ADD: unittest for define-class/new

15 years agoUPDATE: now,Ruby is not required for test
MIZUNO Hiroki [Wed, 20 Aug 2008 06:43:48 +0000 (15:43 +0900)]
UPDATE: now,Ruby is not required for test

15 years agoUPDATE: Readme
mzp [Wed, 20 Aug 2008 03:57:47 +0000 (12:57 +0900)]
UPDATE: Readme

15 years agoFix: add class name to global-env
MIZUNO Hiroki [Wed, 20 Aug 2008 01:25:45 +0000 (10:25 +0900)]
Fix: add class name to global-env

15 years agoChange: use CPP & one-liner for collectiong test suite.
MIZUNO Hiroki [Wed, 20 Aug 2008 01:23:06 +0000 (10:23 +0900)]
Change: use CPP & one-liner for collectiong test suite.

15 years agoChange: Class name is lexical -> global
MIZUNO Hiroki [Wed, 20 Aug 2008 00:48:26 +0000 (09:48 +0900)]
Change: Class name is lexical -> global

- If I define class as local, AVM2 raise corruption error.

15 years agoAdd: "new" special form to create instance from class.
MIZUNO Hiroki [Mon, 18 Aug 2008 12:27:52 +0000 (21:27 +0900)]
Add: "new" special form to create instance from class.

- syntax: (new Class arg0 arg1)

15 years agoAdd: call base class constructor
MIZUNO Hiroki [Mon, 18 Aug 2008 11:38:07 +0000 (20:38 +0900)]
Add: call base class constructor

15 years agoUpdate: README
MIZUNO Hiroki [Mon, 18 Aug 2008 11:27:02 +0000 (20:27 +0900)]
Update: README

15 years agoChange: 'make count' outputs code-line summary
MIZUNO Hiroki [Mon, 18 Aug 2008 11:20:43 +0000 (20:20 +0900)]
Change: 'make count' outputs code-line summary

15 years agoAdd: instruction for constructor
MIZUNO Hiroki [Mon, 18 Aug 2008 11:15:44 +0000 (20:15 +0900)]
Add: instruction for constructor

15 years agoAdd: support namespace
MIZUNO Hiroki [Mon, 18 Aug 2008 02:19:07 +0000 (11:19 +0900)]
Add: support namespace

15 years agoFix: test-code for class-stmt
MIZUNO Hiroki [Mon, 18 Aug 2008 01:47:42 +0000 (10:47 +0900)]
Fix: test-code for class-stmt

15 years agoChange: change 'define-class' from expr to stmt.
MIZUNO Hiroki [Sun, 17 Aug 2008 01:50:11 +0000 (10:50 +0900)]
Change: change 'define-class' from expr to stmt.

- Because 'define-class' changes environment, it is not expr,but stmt.

15 years agoChange: generate class code which can be dumped by abcdump.
MIZUNO Hiroki [Sat, 16 Aug 2008 07:30:08 +0000 (16:30 +0900)]
Change: generate class code which can be dumped by abcdump.

- Fix: traits encoding
- Add: Sealed flag

15 years agoMerge branch 'class_support' of git@github.com:mzp/scheme-abc into class_support
MIZUNO Hiroki [Sat, 16 Aug 2008 02:33:22 +0000 (11:33 +0900)]
Merge branch 'class_support' of git@github.com:mzp/scheme-abc into class_support

15 years agoRevert "Support newclass"
MIZUNO Hiroki [Sat, 16 Aug 2008 02:33:16 +0000 (11:33 +0900)]
Revert "Support newclass"

This reverts commit 134f3773c22401cb3851110eaaba0622902e6407.

15 years agoRefactoring: add newline
mzp [Fri, 15 Aug 2008 09:28:55 +0000 (18:28 +0900)]
Refactoring: add newline

15 years agoFix: generate runnable class code
mzp [Fri, 15 Aug 2008 09:20:25 +0000 (18:20 +0900)]
Fix: generate runnable class code

15 years agoSupport newclass
MIZUNO Hiroki [Fri, 15 Aug 2008 04:44:33 +0000 (13:44 +0900)]
Support newclass

15 years agoSupport class compile.
MIZUNO Hiroki [Fri, 15 Aug 2008 00:42:30 +0000 (09:42 +0900)]
Support class compile.

- We can generate valid abc with class. But cannot run it.

15 years agogenerate class-info
MIZUNO Hiroki [Thu, 14 Aug 2008 01:02:16 +0000 (10:02 +0900)]
generate class-info

15 years agosupport ast.class
MIZUNO Hiroki [Thu, 14 Aug 2008 00:56:21 +0000 (09:56 +0900)]
support ast.class

15 years agomake meth.name collectable
MIZUNO Hiroki [Mon, 11 Aug 2008 14:09:21 +0000 (23:09 +0900)]
make meth.name collectable

15 years agochange type of Asm.meth.name (string to multiname)
MIZUNO Hiroki [Mon, 11 Aug 2008 11:40:28 +0000 (20:40 +0900)]
change type of Asm.meth.name (string to multiname)

15 years agofix asm_klass
MIZUNO Hiroki [Mon, 11 Aug 2008 08:34:58 +0000 (17:34 +0900)]
fix asm_klass