Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 22:12:36 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Poll
Question: I would like to expand some drawing commands! What syntax do you prefer for:   [1] Horizontal and vertical lines? [2] White and xor drawing?   Please pick ONE [1] option and ONE [2] option.
[1] Prefix with letters:   HLine(Y,X1,X2)  and  VLine(X,Y1,Y2) - 16 (26.7%)
[1] Overload shift commands:   Horizontal(Y,X1,X2)  and  Vertical(X,Y1,Y2) - 3 (5%)
[1] Use Horiz and G-T:   Horiz(Y,X1,X2)  and  Vert(X,Y1,Y2) - 6 (10%)
[1] Use LinReg(a+bx)  and LinReg(ax+b) :   HLine(Y,X1,X2)  and  VLine(X,Y1,Y2) - 4 (6.7%)
[1] Use LinReg(a+bx)  and LinReg(ax+b) :   Horiz(Y,X1,X2)  and  Vert(X,Y1,Y2) - 2 (3.3%)
[1] Other:   Please specify in a post! - 0 (0%)
[2] Use letter modifiers W and X:   e.g.  WHLine(Y,X1,X2),  WRect(X,Y,W,H),  XLine(X1,Y1,X2,Y2),  XCircle(X,Y,R) - 20 (33.3%)
[2] Use symbol modifiers ! and i:   e.g.  !HLine(Y,X1,X2),  !Rect(X,Y,W,H),  iLine(X1,Y1,X2,Y2),  iCircle(X,Y,R) - 9 (15%)
[2] Other:   Please specify in a post! - 0 (0%)
Total Voters: 32

Pages: 1 ... 143 144 [145] 146   Go Down
  Print  
Author Topic: Axe Parser -  (Read 121727 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 21:29:34
Date Registered: 02 July, 2009, 06:38:05
Posts: 1680


Total Post Ratings: +493

View Profile
« Reply #2160 on: 01 December, 2012, 09:44:29 »
+1

I would like to improve line drawing, but I need your help! I want to add horizontal and vertical line commands, and then also allow modifiers to all line and other drawing commands to allow white or inverted drawing. The question is, what syntax for these features looks best and/or is easiest to use?

I have added a poll to get your input on this question. Really this is two polls in one:
[1] What should the command for horizontal and vertical lines be?
[2] What should the syntax for white and xor drawing be?

So please look over all the options, and then pick ONE in the [1] category and ONE in the [2] category. Please consider the pros and cons of each; for instance, Horizontal seems like a great choice, but it might cause confusion with the existing Horizontal+ comamnd; and tokens like LinReg(a+bx) can be turned into much better names with the token hook, but without the token hook, they may look confusing.


I would like to note that, for specifying white and xor drawing modes, something like WhiteLine(X1,X2,Y1,Y2) is very much a possibility as well. But then the question is, what tokens should be replaced to be White and Xor? I don't see any obvious choices, but if you have an idea about it, pick the "other" option for [2] and post what your idea is.
« Last Edit: 01 December, 2012, 09:46:07 by Runer112 » Logged
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 22 May, 2013, 01:21:23
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2638


Total Post Ratings: +66

View Profile
« Reply #2161 on: 01 December, 2012, 11:45:38 »
0

I've never been a big fan of overloading functions. It makes code less readable. I also don't see a need to use new tokens, especially since we're getting to the point where those tokens are in more and more obscure sub-menus.

I rather like the W<command> syntax, but I'd also be okay with the !. It's a little misleading, but not too bad. Also, HLine(), etc. is faster to type than LinReg()

If typing on the calc wasn't so slow I'd advocate pure-ASCII compiling. Actually, I would like that anyway, at least as an option.
Logged

Builderboy
Physics Guru
LV13 Extreme Addict (Next: 9001)
*************
Online Online

Gender: Male
Last Login: Today at 22:02:57
Date Registered: 20 April, 2009, 00:28:53
Location: Ravenholm
Posts: 5642


Total Post Ratings: +589

View Profile
« Reply #2162 on: 01 December, 2012, 11:55:52 »
0

I am in favor of preceding the commands with the letter modifiers.  This allows the same syntax to be used for both the horizontal/vertical lines, as well as the different drawing modes for the drawing commands, which would help keep the syntax more consistent.  Additionally, adding more and more extra tokens for new but similar commands can get annoying when they start being spread out over multiple menu's, with the letter modifiers we only ever have to look towards a single token.   
Logged

Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 21:00:41
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #2163 on: 01 December, 2012, 22:18:36 »
0

I thought ! would be great because it means "not" in terms of !If already.

I doubt there'd be more than two of these "prefixes," so W and X out of the entire alphabet feels a bit weird to me. ! and i are characters anyway (so they're more like prefixes), and as I said, ! is already used for something close to that meaning.

Also what would happen if you did something like this?
→XLine(,Y,X+3,Y+3)
« Last Edit: 01 December, 2012, 22:18:47 by Deep Thought » Logged




Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 10:18:40
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1890


Total Post Ratings: +110

View Profile WWW
« Reply #2164 on: 09 December, 2012, 20:29:20 »
0

Also what would happen if you did something like this?
→XLine(,Y,X+3,Y+3)

You'd get a syntax error.
Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
leafy
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 20:10:08
Date Registered: 26 December, 2010, 05:27:03
Location: the ninth circle of hell
Posts: 1545


Total Post Ratings: +371

View Profile WWW
« Reply #2165 on: 09 December, 2012, 21:29:33 »
0

Yeah, but I think what he's trying to get at is loading a value into X, then using that value in HL as the first argument for the Line() command, which should make sense. It's easier to modify values outside of the command block.
« Last Edit: 09 December, 2012, 21:29:57 by leafy » Logged

In-progress: Blastlabs, TMJO, qb?, VVVVVV?
Finished: Tag, Tap, MFQT, Nyan
Dead: Graviter
Matrefeytontias
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 20:42:29
Date Registered: 14 October, 2011, 18:48:49
Location: Alone in the Park
Posts: 855


Total Post Ratings: +174

View Profile
« Reply #2166 on: 09 December, 2012, 21:58:55 »
0

Then just add a newline between X and Line and it will work.
Logged

/\   ><   [-   |_|   _\~   [-   /?



Spoiler for Shameful self-advertising:
/image/37571.png[/img]
If at a certain moment you think that I'm awesome, give an internet (>^_^)>
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 21:29:34
Date Registered: 02 July, 2009, 06:38:05
Posts: 1680


Total Post Ratings: +493

View Profile
« Reply #2167 on: 17 December, 2012, 07:18:49 »
+1

So I just released a new version of Axe about 4 hours ago... and I managed to screw up the flagship feature. So I have quickly fixed it and replaced the bad 1.2.1 with 1.2.1a!

If you were one of the five who downloaded Axe 1.2.1 already: go get the fixed version.

For everybody else: what crippling bug? I would never make such a silly mistake, what are you talking about? I don't see it anywhere.
Logged
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 10:18:40
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1890


Total Post Ratings: +110

View Profile WWW
« Reply #2168 on: 19 December, 2012, 07:32:46 »
0

The error message for a too-large app is "ERR:MEMORY". It really should be something more descriptive, like say, "ERR:TOO BIG FOR ONE PAGE" or something.

And that is too big for one error message. Anyways this isn't really a bug, and you still knew what it meant so it seems like it's descriptive enough. Maybe you won't even see that error eventually. Tongue
Does this mean we might be able to have two-page Axe apps in the future?
Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 21:29:34
Date Registered: 02 July, 2009, 06:38:05
Posts: 1680


Total Post Ratings: +493

View Profile
« Reply #2169 on: 19 December, 2012, 07:33:43 »
0

The error message for a too-large app is "ERR:MEMORY". It really should be something more descriptive, like say, "ERR:TOO BIG FOR ONE PAGE" or something.

And that is too big for one error message. Anyways this isn't really a bug, and you still knew what it meant so it seems like it's descriptive enough. Maybe you won't even see that error eventually. Tongue
Does this mean we might be able to have two-page Axe apps in the future?

Eventually I hope so, yes. But as I've mentioned in previous posts, it's a logistical nightmare so don't expect it any time soon.
Logged
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 10:18:40
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1890


Total Post Ratings: +110

View Profile WWW
« Reply #2170 on: 19 December, 2012, 07:34:09 »
0

The error message for a too-large app is "ERR:MEMORY". It really should be something more descriptive, like say, "ERR:TOO BIG FOR ONE PAGE" or something.

And that is too big for one error message. Anyways this isn't really a bug, and you still knew what it meant so it seems like it's descriptive enough. Maybe you won't even see that error eventually. Tongue
Does this mean we might be able to have two-page Axe apps in the future?

Eventually I hope so, yes. But as I've mentioned in previous posts, it's a logistical nightmare so don't expect it any time soon.
Alrighty, then!
Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
Sorunome
Muffins
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 01:13:29
Date Registered: 26 September, 2011, 17:46:38
Location: Ponyville
Posts: 2947


Total Post Ratings: +161

View Profile WWW
« Reply #2171 on: 20 December, 2012, 03:38:06 »
0

The error message for a too-large app is "ERR:MEMORY". It really should be something more descriptive, like say, "ERR:TOO BIG FOR ONE PAGE" or something.

And that is too big for one error message. Anyways this isn't really a bug, and you still knew what it meant so it seems like it's descriptive enough. Maybe you won't even see that error eventually. Tongue
Does this mean we might be able to have two-page Axe apps in the future?

Eventually I hope so, yes. But as I've mentioned in previous posts, it's a logistical nightmare so don't expect it any time soon.
Let's party!
I've been waiting for this feature long Tongue
But it would still give error memory if there isn't enough ROM
And wouldn't you need to like write page to page and swap a lot between ROM and RAM because the calc doesn't have enough RAM?
Logged

http://z0r.de/4017
http://www.youtube.com/watch?v=BFOoazEx9lU
http://www.sorunome.de
http://reubenquest.net
+++++++[>++++++++++++<-]>.<+++[>----<-]>.---.<++++[>>++++++++<<-]>>.<++.------.++++++++++++.--------.

++++++[>++++++++++<-]>++++++++.<+++[>+++++++++++<-]>.+++++++++++++.--.<+++[>+++<-]>.<+++[>>++++++++++<<-]>>++.<<+++++++[>-------<-]>.<+++[>+++++++++++++<-]>..+++++++.<+++[>-----<-]>--.<++[>++++++<-]>++.

If OmnomIRC is screwed up, blame me Tongue

Save Derpy!(http://www.youtube.com/watch?v=cg-_HeVNYOk)
Spoiler for spoilers:


Spoiler for languages:
- TI-BASIC
 - TI-Highbrid Basic
 - Grammer
 - Axe
 - HTML
 - JavaScript
 - CSS
 - PHP
 - C++
 - lua
 - Python
 - MYSQL
 - Brainf*ck
 - English
 - German
Spoiler for internet:
/image/36691.png[/img]
Gimme internet NOW
Spoiler for me:
Spoiler for my little game:
my little game...my little game..aaaaaahhhhhh...my little game, i used to wonder how to lose the game, my little game, until you shared its losing with me. take the losing and the game, a beutiful game so losable, sharing losing is a easy sweat and losing makes it aweful neat to have my little game togeather with my very best games.
Spoiler for stuff:
Spoiler for derpy:



Matrefeytontias
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 20:42:29
Date Registered: 14 October, 2011, 18:48:49
Location: Alone in the Park
Posts: 855


Total Post Ratings: +174

View Profile
« Reply #2172 on: 22 January, 2013, 09:33:44 »
0

Bump,

At school, I'm in a project that requires the linking abilities of my Ti-83+, and since I'm too lazy to make it in assembly (Tongue), I wondered : what's the protocol you're using with the Send( command ? My goal is to catch the bits sent with an Arduino in a byte.

Also, since these functionalities had been added to the latest version of Axe, I think you should remove the current poll and make a new one Tongue
Logged

/\   ><   [-   |_|   _\~   [-   /?



Spoiler for Shameful self-advertising:
/image/37571.png[/img]
If at a certain moment you think that I'm awesome, give an internet (>^_^)>
Keoni29
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Today at 20:50:43
Date Registered: 15 March, 2011, 16:23:33
Location: The Netherlands
Posts: 1119


Total Post Ratings: +146

View Profile WWW
« Reply #2173 on: 22 January, 2013, 09:59:08 »
0

I usually write my own link routines. Toggle one pin in the port. This is your clock. Every time want the bit to be 1 you toggle both pins off. Every time you want it to be a 0 only turn the clock pin off. Now for receiving data you send thearduino 8 bits to tell it the calc is in receive mode. Then toggle the clockpin 8 times. On the arduino side you run a bit of hardware interrupt code on the clock pin. Put bits on the data pin.
Logged


Spoiler for Hidden:
Last signature update 10:55 april 22nd 2013
Matrefeytontias
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 20:42:29
Date Registered: 14 October, 2011, 18:48:49
Location: Alone in the Park
Posts: 855


Total Post Ratings: +174

View Profile
« Reply #2174 on: 22 January, 2013, 11:32:47 »
0

In fact it's ok, I've already wrote my routine Tongue thanks
Logged

/\   ><   [-   |_|   _\~   [-   /?



Spoiler for Shameful self-advertising:
/image/37571.png[/img]
If at a certain moment you think that I'm awesome, give an internet (>^_^)>
Pages: 1 ... 143 144 [145] 146   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.445 seconds with 34 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.