09-24-2009, 06:21 PM | #16 | |
Banned
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
Quote:
1) "Easy macro languages are hardest to learn..." Read that a few times. It still makes no sense. It's up-is-downism, that pseudo-rationalizes some other point. 2) "...they are usually proprietary to one piece of software and there fore hard rationalize investing too much time into." This is your real point. And it supports exactly the point I was making in my argument. You are a programmer already, as is Valloric. You think like programmers, and want to leverage your knowledge. (I am not belittling the time and effort it took you to learn your skills. I think programmers are awesome.) My point is that while it might be nice for everyone to learn Python in order to successfully (or adequately) program macros for the editor, it won't happen. Programmers will do it. A few hardy souls will do it. And most people won't. The first step has to be easier than that, thus making (or leaving) people dependent. ("Would somebody please write a macro that...?") 3) I wasn't suggesting recreating or cloning the NoteTab Clip language. I think that the method of creating and accessing the macros is great -- and the language is easy to learn. Factors that I hope can be extracted from observing it. Okay, I'm done. I see your point, understand your motivations, acknowledge the value of efficiency (and not wanting to recreate the wheel.) It's all good. I may even learn Python, if I'm feeling hardy and I have time. Feel free to school me -- I'll read it, but I won't respond as I don't think that I should argue any further as it would no longer be polite. m a r |
|
09-24-2009, 06:42 PM | #17 | ||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
It really, really is very easy to learn. I'd dare say it's even intuitive. Quote:
Oh please don't see this as any king of argument. I'm sure everyone sees it as a polite discussion, which it is. I'm certainly always willing to be convinced by sound arguments. |
||
09-24-2009, 09:13 PM | #18 |
Banned
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
|
09-25-2009, 03:26 AM | #19 | |
The Grand Mouse 高貴的老鼠
Posts: 71,506
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
I've just started to work with python more seriously. I must admit that I like it more and more.
Version 3 looks good - moving strings to be unicode without any of the mucking about with u prefixes. Breaks a lot of 2.x stuff though... Quote:
|
|
09-25-2009, 04:14 AM | #20 | |
Addict
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
Lua
Quote:
Mind you Lua has been designed for embedding into applications and is embedded not only in Games. Have a look there homepage. Last edited by krischik; 09-25-2009 at 04:22 AM. |
|
09-25-2009, 04:19 AM | #21 |
Addict
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
'[' is a abbreviation for 'test' - you find the documentation with 'info test' or 'man test'. Once I found that out I have stopped using '[' and use 'test' instead.
So instead of: Code:
if [ -e /Some/File ] ; then Code:
if test -e /Some/File; then |
09-25-2009, 06:11 AM | #22 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
09-25-2009, 08:20 AM | #23 | |
Banned
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
Quote:
You perfectly encapsulate my point -- without knowing it means 'test' you can't find out that it means 'test'. Lots of programmers seem to think that if you type only one character ([) instead of four characters (test) it's better. They can't help themselves. Yet they won't use Forth. Go figure. m a r |
|
09-26-2009, 01:48 AM | #24 |
Addict
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
|
09-29-2009, 06:09 PM | #25 |
Lector minore
Posts: 649
Karma: 1738720
Join Date: Jan 2008
Device: Aura One, Samsung Galaxy Tab S5e, Google Pixel Slate
|
I vote for lua.
Much smaller runtime than Python to embed but has everything you need for a scripting language. Not that difficult a language to learn; about comparable to Python. Very easy to embed. |
09-30-2009, 01:41 AM | #26 |
Addict
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
|
09-30-2009, 07:25 AM | #27 |
Wizard
Posts: 1,234
Karma: 3350652
Join Date: Feb 2008
Device: Amazon Kindle Paperwhite (300ppi), Samsung Galaxy Book 12
|
I'd vote for Lua as well. It's intended for embedding and is being used in other text-oriented projects.
William |
09-30-2009, 08:10 AM | #28 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
A poll would IMO be meaningless. I'm not going to make a decision based on a number, but on sound arguments presented in a discussion. Anyone wanting to present their idea of what scripting language should be embedded needs to be able and willing to convince me and others why should that language be chosen over the rest. Not just click a button.
|
09-30-2009, 11:38 AM | #29 |
Fanatic
Posts: 574
Karma: 138556
Join Date: May 2006
Device: PRS505
|
|
09-30-2009, 12:05 PM | #30 | |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
But I've never seen/used Lua. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scripting with epub-meta | averyml | Calibre | 20 | 11-17-2016 10:13 AM |
Entourage Edge and the Android Scripting Environment | paulckennedy | enTourage eDGe | 9 | 07-12-2011 12:32 PM |
iLiad Lua: scripting for Iliad | hansel | iRex Developer's Corner | 3 | 12-14-2008 06:51 PM |
Simple browser scripting for content? | mphuie | Workshop | 2 | 01-29-2008 08:38 PM |
Any NetNewsWire Scripting Pros out there? | adinb | Sony Reader | 0 | 02-25-2007 01:44 AM |