J is arguably already bytecode... ascii. And fairly terse. an extension to this: http://code.jsoftware.com/wiki/User:PascalJasmin/JON_assignment_free_pure_functional_DSL
would be to use instead of an assignment system, an object that is a combination of queue, stack and dictionary that stores and retrieves results. ----- Original Message ----- From: Joe Bogner <joebog...@gmail.com> To: programm...@jsoftware.com Cc: Sent: Tuesday, November 10, 2015 4:49 PM Subject: Re: [Jprogramming] essay: toy byte code interpreter Thanks. I don't have any application of it yet other than demystifying the concept of a bytecode interpretation. It does open up some interesting options of doing cool stuff with stacks in J. I am also thinking it would be a neat hack to implement a subset of J in J using interpreted bytecode. I would then probably write an interpreter of the bytecode in another language too for fun. On Tue, Nov 10, 2015 at 4:33 PM, 'Pascal Jasmin' via Programming <programm...@jsoftware.com> wrote: > Its cool. > > is your interest to do cool stuff with stacks in J, make a stack language or > interpret bytecode? > > > If its the first, I have many suggestions. > > > ________________________________ > From: Joe Bogner <joebog...@gmail.com> > To: programm...@jsoftware.com > Sent: Tuesday, November 10, 2015 4:07 PM > Subject: [Jprogramming] essay: toy byte code interpreter > > > I wrote this over lunch today and was pleased to see how simple it > was. I'm posting here for those who don't follow Recent Changes. > Feedback welcome > > http://code.jsoftware.com/wiki/User:Joe_Bogner/ByteCodeInterpreter > > I'd be interested in any speedups to the timing test that still permit > jumps. It's fine as-is for a toy though > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm