Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] Does Apple's osacompile use LLVM?"
2013 Apr 21
2
[LLVMdev] How to cast Value* to ConstantDataArray*
ConstantDataArray * cda = cast<ConstantDataArray>(v);
throws this error: Assertion failed: (isa<X>(Val) && "cast<Ty>() argument
of incompatible type!"), function cast, file
/Users/rcatlin1/lldb/llvm/include/llvm/Support/Casting.h, line 208
Thanks for the help.
Richard Catlin
On Sat, Apr 20, 2013 at 3:37 PM, Sean Silva <silvas at purdue.edu> wrote:
2013 Apr 20
0
[LLVMdev] How to cast Value* to ConstantDataArray*
On Sat, Apr 20, 2013 at 5:15 PM, Richard Catlin
<richard.m.catlin at gmail.com>wrote:
> I extended the LLVM Kaleidoscope example to support Strings. I added a
> StringExprAST, which has the virtual Codegen method impl as follows:
>
> Value *StringExprAST::Codegen() {
> StringRef r(Val);
> return ConstantDataArray::getString(getGlobalContext(), r, false);
> }
>
2013 Apr 20
2
[LLVMdev] How to cast Value* to ConstantDataArray*
I extended the LLVM Kaleidoscope example to support Strings. I added a
StringExprAST, which has the virtual Codegen method impl as follows:
Value *StringExprAST::Codegen() {
StringRef r(Val);
return ConstantDataArray::getString(getGlobalContext(), r, false);
}
I am trying to concatenate Strings and have a ConcatExprAST with its
Codegen method. Upon trying to access the data in the
2006 Feb 28
2
database tables
I have been assigned a task of building a front end to a database that has already been created. All the database tables have the naming convention of lclclcClclclc. For example; tblComputerNames. How do i get around this in rails since it likes lower case table names to keep with its naming conventions for classes and objects?
Mitch
Mitch Raful MCSE, CCNP
Network Engineer
MCCS Quantico
2006 Mar 21
8
Loading the contents of a CSV file to a database
Hello Everybody,
I picked up on the buzz about RoR and wanted to see what the fuss is
about. So far i am very impressed but have hit a bit of a wall with a
little play app i am writting.
I want to iterate through a CSV file of my bank transactions and see
just how much money i spend on beer and pies every month.
I have successfully setup a database with a single table called
transactions
1998 Nov 25
9
Help!
Anyone know how can i get Office97 over a Samba Server in perfect
functions. How should i install it.
setup /a ?????
Please tell me.
Thanks
.............................................................................
LSC Maximino Gerardo Luna Estrada email: max@oro.reduaz.mx
Unix & System Administrator tel: (492) 43919, 40570
Centro Universitario
2005 Dec 16
1
AppleScript commands don't execute until mouse over console window (PR#8405)
Full_Name: Jonathan Paisley
Version: 2.2.0
OS: Mac OS X 10.4.3
Submission from: (NULL) (81.178.69.159)
I am sending commands to R via AppleScript (specifically, from SubEthaEdit to
instruct it to source the file I'm currently editing). R doesn't respond tothe
AppleScript until I move the mouse over R's console window.
The following patch to the Mac GUI (against current svn trunk)
2011 Jan 01
2
Applescript and .exe?
Hi there!
I've used Wine a couple of years ago when I used Ubuntu as OS. Nowadays I have a Mac and recently installed Wine on it.
My question is, how do I fix so that I don't have to use the terminal to start an .exe program? Just enter a script in Applescript, save it as an application and start it through that?
I've googled and found some scripts but none of them works for me.
2006 Apr 06
10
Advice needed on tracking down unusual error
Does anyone have advice on how to go about locating the cause of this
error message:
ActionView::TemplateError (wrong number of arguments (3 for 1)) on line
#4 of app/views/products/search.rhtml:
4: <%= start_form_tag :action => ''search'' %>
I don''t see anything wrong with line 4 above.
Some background: I''ve made a number of changes to Controllers,
2004 Jan 08
5
Dialing the Phone from OS X Address Book with AppleScript, XML-RPC, PHP and Asterisk
I run an Apple OS X workstation and I've got a server on the same LAN
that's both a webserver and an Asterisk PBX.
I wanted to be able to originate calls in the OS X Address Book
application, and have Asterisk dial them and connect them to the phone
on my desk.
I've assembled a system that uses AppleScript to connect, via XML-RPC,
to a web application that, in turn, connects to
2004 Aug 06
2
communication between icecast and sources
>>>>> "j" == jaromil <jaromil@dyne.org> writes:
j> as it is today, xml-rpc bindings are available for several
j> languages: * Python, Java, Perl, TCL, ASP, COM, PHP, Zope,
j> AppleScript, REBOL, * Dylan, Common LISP, Real Basic, UserLand
j> Frontier, and even macromedia flash.. :)
j> i think icecast could take advantage of
2006 Jul 04
1
Exporting tables to RTF?
Greetings.
Yesterday I managed to jury-rig a system to get a table out of R and
import it into Nisus Writer Express (a word processor for Mac OS X).
What I came up with is brittle, since it depends on an AppleScript
script which has to be in a specific location and on no one touching
the computer, since the AppleScript remotely controls Nisus Writer
Express rather blindly and will make
2009 Jan 21
1
R and Xcode Editor
Hi
From the R for OS X FAQ page: (http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html
)
4.4.6 Editor (internal and external): "Using AppleScript it is easy to
implement Command-E and Command-Return like functionality."
How?
Regards, Gregor.
2011 Sep 13
1
Invoking host system's programs with code running under Wine
Hi everyone!
Recently I've made up my mind to code together a small plug-in for foobar2000 so it would go better with Mac OS X (Growl notifications, Adium statuses etc.). For that I need a method of running the AppleScript interpreter 'osascript' from inside the plugin. I wonder if Wine provides its own way to do that, or at least allows to call fork()?
2010 Apr 02
3
X11 (Mac) graphics problem
Running OS X 10.6.3 on an Intel Mac (processors "2.33 GHz Intel Core 2 Duo", memory "3 GB 667 MHz DDR2 SDRAM) and the newest version of Wine accessible through MacPorts.
Hey. A little while ago, I was having trouble installing wine. I eventually managed to install with MacPorts. Everything was going fine until today, when the program I actually wanted to run (Dwarf Fortress 0.31.01)
2006 Apr 06
8
Fastest learning path to RoR
hi!
with a 4GL background, wanting to learn RoR, what is the fastest
learning path i should take? should i go grab a RoR tutorial, and learn
Ruby along the way, or start with plain Ruby first?
thanks for any inputs!
2004 Jun 04
1
Help with: "Cannot copy Filename: The specified net
>
>Error copying file or folder - - - - - - - - - - - - - - - - - - - - - -
I have not - do not wrk with linux - however,
I have seen similar behaviour working with Mac (OS9 and OSX)
This usually has been the result of illegal character(s) in the file or folder name, or illegal placement of legal characters. Either on the server, or on the source/destination machine.
the following legal
2008 Jan 29
2
accurate progress for UI
Hi All,
I made a Mac UI application and am running rsync 3 from "do shell
script" (applescript) and am trying to parse the output so I can get a
progress bar to give a fairly true reading of size , or # of files,
copied. I notice that the output reads for example,
..... 1650 of 8345 files to copy
and then later
....30 of 11345 files to copy
and eventually down to
....1 of
2012 Jan 23
2
Deisable/Enable Momentum Mouse On Mac Wine
What are the magic lines of C code one has to add to Wine to disable the momentum mouse on a mac when the current wine application is activated and restore the settings when the wine application is deactivated?
2010 Jan 12
4
How to make icon to command on mac?
Is it possible to make grafic icon to start comand "wine win.exe" on Mac Os?
It will pleasent to start without Terminal...