Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: Dyalog rele...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 16 of 18 Topic 966 of 1019
Post > Topic >>

Re: Dyalog releases Version 12

by Gosi <gosinn@[EMAIL PROTECTED] > Mar 8, 2008 at 01:27 AM

On Mar 8, 1:33=A0am, phil chastney
<phil.hates.s...@[EMAIL PROTECTED]
> wrote:
> Gosi wrote:
> > On Mar 7, 8:58 pm, phil chastney
> > <phil.hates.s...@[EMAIL PROTECTED]
> wrote:
> >> Gosi wrote:
> >>> On Mar 6, 2:53 pm, phil chastney
> >>> <phil.hates.s...@[EMAIL PROTECTED]
> wrote:
> >>>>> It will be interesting to see if people use Unicode to translate
> >>>>> scientific mathematical notations directly to Apl.
> >>>>> Has anyone tried that?
> >>>> what exactly are you looking for here? some sort of 2-D input
encoded=

> >>>> using Unicode, being interpreted in (or translated into?) APL,
perhap=
s?
> >>> It was you who suggested that technical symbols could be used in
> >>> Unicode.
> >>>> companies with operations entirely within the English-speaking
world =
may
> >>>> also find Unicode useful when they need to use a mathematical or
> >>>> technical symbol or two, or even a quotation in Foreign (it adds so
m=
uch
> >>>> _style_, don't you think?)
> >>> That is why I asked if those symbols could be used to translate to
Apl=

> >>> functionality
> >> I'm still baffled
>
> >> Unicode is an encoding, it maps abstract characters and symbols to
> >> hexadecimal values, nothing more (actually, there is a lot of
ancillary=

> >> stuff as well, but we'll ignore that, pro tem)
>
> >> most known characters and quite a lot of technical symbols can be
mappe=
d
> >> to hexadecimal values using Unicode
>
> >> the technical symbols include every published APL symbol ever used in
> >> any way
>
> >> it also includes just about every mathematical symbol the American
> >> Mathematical Society could think of
>
> >> so a stream of mathematical symbols could be encoded using Unicode
> >> values, and (if one exists) a semantically equivalent stream of APL
> >> symbols could also be encoded using Unicode values
>
> >> I'm sure you knew that
>
> >> Unicode has no functional power, and in particular, it doesn't have
> >> markup, so I should amend that earlier statement to "a _linear_
stream
> >> of mathematical symbols..."
>
> >> a stream of mathematical symbols, with embedded markup (presumably
> >> ASCII-only), could also be encoded using Unicode values
>
> >> conversion to a semantically equivalent stream of APL symbols could
be
> >> done by hand, or using a programming language[1], but I doubt very
much=

> >> if a general solution exists
>
> >> so, yes, some 2-D mathematical expressions could be translated into
> >> executable APL using only Unicode values, which is my present best
gues=
s
> >> at what you were asking
>
> >> and if I've misunderstood you, my apologies
>
> >> all the best =A0 . . . =A0 /phil
>
> >> [1] note that there is no requirement for the programming language to
> >> know anything about Unicode =A0-- =A0Unicode 1.0 has a copyright date
(=
c)
> >> 1990, 1991 and at that time (before the introduction of w_char) some
> >> people were already using unsigned ints to store Unicode values
>
> > For example:
>
> > \sum_{k=3D1}^{n}{a_k} means a1 + a2 + ... + an.
>
> > Unicode sign 2211 and below it k=3D1 and above it n
>
> it's important to keep your levels of detail clear here
>
> "below it" and "above it" are layout specifications, and for that you
> need markup, which is not part of an encoding scheme
>
> there is another layout convention, which places "k=3D1" level with the
> lower horizontal of the Sigma, and the "n" level with the upper
horizontal=

>
> one convention is (normally) used for displayed formulae, the other for
> inline for formulae (i.e, embedded in plaintext)
>
> as Sam Sirlin has pointed out, there are various markup schemes
>
> your chosen markup language may or may not support both conventions, but
> your hypothetical translator surely must...?!
>
> does that help? =A0 . . . =A0 /phil

In the case of the Sigma we need to interpret three lines together
First line with the n
Second Sigma
Third k=3D1

In general the formulas would be written in a grid like fashion and
operations grouped together
Interesting to interpret formulas like

      1
  -----------------------      =3D 1  % (y + 3) * ( x - 2) % 10
    (y + 3) * ( x - 2)
              ---------
                 10

The formula written in 5 lines




 18 Posts in Topic:
Dyalog releases Version 12
"Stephen Taylor <  2008-03-04 02:26:21 
Re: Dyalog releases Version 12
Gosi <gosinn@[EMAIL PR  2008-03-04 03:46:01 
Re: Dyalog releases Version 12
phil chastney <phil.ha  2008-03-06 09:11:22 
Re: Dyalog releases Version 12
Gosi <gosinn@[EMAIL PR  2008-03-06 05:23:50 
Re: Dyalog releases Version 12
phil chastney <phil.ha  2008-03-06 14:53:27 
Re: Dyalog releases Version 12
Sam Sirlin <swsirlin@[  2008-03-06 09:06:54 
Re: Dyalog releases Version 12
Gosi <gosinn@[EMAIL PR  2008-03-06 05:33:20 
Re: Dyalog releases Version 12
"David Liebtag"  2008-03-06 09:38:34 
Re: Dyalog releases Version 12
microapl@[EMAIL PROTECTED  2008-03-07 01:07:45 
Re: Dyalog releases Version 12
Gosi <gosinn@[EMAIL PR  2008-03-07 01:49:45 
Re: Dyalog releases Version 12
phil chastney <phil.ha  2008-03-07 20:58:04 
Re: Dyalog releases Version 12
Morten Kromberg <mkrom  2008-03-07 03:50:39 
Re: Dyalog releases Version 12
phil chastney <phil.ha  2008-03-07 19:58:20 
Re: Dyalog releases Version 12
Gosi <gosinn@[EMAIL PR  2008-03-07 13:54:27 
Re: Dyalog releases Version 12
phil chastney <phil.ha  2008-03-08 01:33:26 
Re: Dyalog releases Version 12
Gosi <gosinn@[EMAIL PR  2008-03-08 01:27:36 
Re: Dyalog releases Version 12
phil chastney <phil.ha  2008-03-08 09:59:38 
Re: Dyalog releases Version 12
Gosi <gosinn@[EMAIL PR  2008-03-12 06:02:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 8:04:12 CDT 2008.